IAppleAuthManager.cs 1.2 KB

12345678910111213141516171819202122232425
  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. }