驱蚊app
您不能選擇超過 %s 個話題 話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字
 
 
 
 
 

25 行
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. }