UPF/Assets/AppleAuth/Interfaces/IAppleIDCredential.cs
2023-02-24 22:14:55 +05:30

42 lines
1.2 KiB
C#
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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