驱蚊app
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

25 rader
1.2 KiB

  1. using AppleAuth.Enums;
  2. using AppleAuth.Interfaces;
  3. using System;
  4. namespace AppleAuth
  5. {
  6. public interface IAppleAuthManager
  7. {
  8. [Obsolete("This method is deprecated and will be removed soon. Please provide an empty instance of AppleAuthQuickLoginArgs to QuickLogin.")]
  9. void QuickLogin(Action<ICredential> successCallback, Action<IAppleError> errorCallback);
  10. void QuickLogin(AppleAuthQuickLoginArgs quickLoginArgs, Action<ICredential> successCallback, Action<IAppleError> errorCallback);
  11. [Obsolete("This method is deprecated and will be removed soon. Please provide an instance of AppleAuthLoginArgs to LoginWithAppleId with the LoginOptions instead.")]
  12. void LoginWithAppleId(LoginOptions options, Action<ICredential> successCallback, Action<IAppleError> errorCallback);
  13. void LoginWithAppleId(AppleAuthLoginArgs loginArgs, Action<ICredential> successCallback, Action<IAppleError> errorCallback);
  14. void GetCredentialState(string userId, Action<CredentialState> successCallback, Action<IAppleError> errorCallback);
  15. void SetCredentialsRevokedCallback(Action<string> credentialsRevokedCallback);
  16. void Update();
  17. }
  18. }