IOpenIDConnectToken

References
public interface IOpenIDConnectToken
This class represents an OpenIDConnect token issued from an OpenID provider. The token is immutable.

Properties

AdminGroups

#Since v7.0
Returns all the groups the user is an admin of.

AllGroups

#Since v7.0
Returns all the groups the user is a member of.

AtHash

#Since v7.0
Access Token hash value. Its value is the base64url encoding of the left-most half of the hash of the octets of the ASCII representation of the access_token value, where the hash algorithm used is the hash algorithm used in the alg Header Parameter of the ID Token's JOSE Header. For instance, if the alg is RS256, hash the access_token value with SHA-256, then take the left-most 128 bits and base64url encode them. The at_hash value is a case sensitive string.
string AtHash { get; }

Aud

#Since v7.0
The id of the client (the audience) this token is intended for.
string Aud { get; }

AuthTime

#Since v7.0
Time when the End-User authentication occurred
DateTime? AuthTime { get; }

Emails

#Since v7.0
All the emails belonging to the account the token represents.
IReadOnlyCollection<string> Emails { get; }

EmailVerified

#Since v7.0
true if all the emails in the account have been verified; false otherwise.
bool? EmailVerified { get; }

Exp

#Since v7.0
The date the token expires.
DateTime? Exp { get; }

Iat

#Since v7.0
The date the token was issued.
DateTime? Iat { get; }

IsExpired

#Since v7.0
true if the token is expired; false otherwise.
bool IsExpired { get; }

Iss

#Since v7.0
The id of the entity that issued the token.
string Iss { get; }

IsUpdated

#Since v7.0
true if the token has been updated; false otherwise.
bool IsUpdated { get; }

Locale

#Since v7.0
The local of the user this token represents. ISO 639-1 Alpha-2 [ISO639‑1] language code and an ISO 3166-1 Alpha-2 [ISO3166‑1] country code in, separated by a dash.
string Locale { get; }

MemberGroups

#Since v7.0
Returns all the groups the user is a member of, but not an admin or an owner.

Name

#Since v7.0
The name of the user this token represents.
string Name { get; }

Nonce

#Since v7.0
String value used to associate a Client session with an ID Token, and to mitigate replay attacks
string Nonce { get; }

OwnerGroups

#Since v7.0
Returns all the groups the user is an owner of.

Phone

#Since v7.0
The phone of the user this token represents.
string Phone { get; }

Picture

#Since v7.0
The url of a picture/avatar/icon of the user this token represents.
string Picture { get; }

RawToken

#Since v7.0
The raw OpenIDConnect token.
string RawToken { get; }

Sub

#Since v7.0
The unique id for the subject this token represents.
string Sub { get; }

UpdatedAt

#Since v7.0
The last time the token was updated.
DateTime? UpdatedAt { get; }