using AppleAuth.Enums;
namespace AppleAuth.Interfaces
{
public interface IAppleIDCredential : ICredential
{
///
/// A JSON Web Token (JWT) that securely communicates information about the user to your app.
///
byte[] IdentityToken { get; }
///
/// A short-lived token used by your app for proof of authorization when interacting with the app’s server counterpart.
///
byte[] AuthorizationCode { get; }
///
/// An arbitrary string that your app provided to the request that generated the credential.
///
string State { get; }
///
/// The contact information the user authorized your app to access.
///
string[] AuthorizedScopes { get; }
///
/// The user’s name
///
IPersonName FullName { get; }
///
/// The user’s email address
///
string Email { get; }
///
/// A value that indicates whether the user appears to be a real person.
///
RealUserStatus RealUserStatus { get; }
}
}