IAppleIDCredential.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using AppleAuth.Enums;
  2. namespace AppleAuth.Interfaces
  3. {
  4. public interface IAppleIDCredential : ICredential
  5. {
  6. /// <summary>
  7. /// A JSON Web Token (JWT) that securely communicates information about the user to your app.
  8. /// </summary>
  9. byte[] IdentityToken { get; }
  10. /// <summary>
  11. /// A short-lived token used by your app for proof of authorization when interacting with the app’s server counterpart.
  12. /// </summary>
  13. byte[] AuthorizationCode { get; }
  14. /// <summary>
  15. /// An arbitrary string that your app provided to the request that generated the credential.
  16. /// </summary>
  17. string State { get; }
  18. /// <summary>
  19. /// The contact information the user authorized your app to access.
  20. /// </summary>
  21. string[] AuthorizedScopes { get; }
  22. /// <summary>
  23. /// The user’s name
  24. /// </summary>
  25. IPersonName FullName { get; }
  26. /// <summary>
  27. /// The user’s email address
  28. /// </summary>
  29. string Email { get; }
  30. /// <summary>
  31. /// A value that indicates whether the user appears to be a real person.
  32. /// </summary>
  33. RealUserStatus RealUserStatus { get; }
  34. }
  35. }