Class IdToken
Represents the claims contained within an ID token obtained during sign-in.
Inherited Members
Namespace: Unity.Services.PlayerAccounts
Syntax
public class IdToken : BaseJwt
Constructors
IdToken()
Constructor
Declaration
[Preserve]
public IdToken()
Fields
Audience
Gets the audience of the ID token.
Declaration
public string[] Audience
Field Value
Type | Description |
---|---|
String[] |
Issuer
Gets the issuer of the ID token.
Declaration
public string Issuer
Field Value
Type | Description |
---|---|
String |
JwtId
Gets the JWT ID of the ID token.
Declaration
public string JwtId
Field Value
Type | Description |
---|---|
String |
Subject
Gets the subject identifier of the user.
Declaration
public string Subject
Field Value
Type | Description |
---|---|
String |
Properties
Gets the email of the user.
Declaration
public string Email { get; set; }
Property Value
Type | Description |
---|---|
String |
EmailVerified
Indicates whether the user's email address is verified.
Declaration
public bool EmailVerified { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsPrivateEmail
Indicates whether the user's email address is private.
Declaration
public bool IsPrivateEmail { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Nonce
Gets the nonce value used during the authentication request.
Declaration
public string Nonce { get; set; }
Property Value
Type | Description |
---|---|
String |