IOpenIDConnectToken
This class represents an OpenIDConnect token issued from an OpenID provider. The token is immutable.
Namespace: Rhino.Runtime.RhinoAccounts
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public interface IOpenIDConnectToken
The IOpenIDConnectToken type exposes the following members.
Properties
Name
Description
Public Property
AdminGroups
Returns all the groups the user is an admin of.
Public Property
AllGroups
Returns all the groups the user is a member of.
Public Property
AtHash
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.
Public Property
Aud
The id of the client (the audience) this token is intended for.
Public Property
AuthTime
Time when the End-User authentication occurred
Public Property
Emails
All the emails belonging to the account the token represents.
Public Property
EmailVerified
true if all the emails in the account have been verified; false otherwise.
Public Property
Exp
The date the token expires.
Public Property
Iat
The date the token was issued.
Public Property
IsExpired
true if the token is expired; false otherwise.
Public Property
Iss
The id of the entity that issued the token.
Public Property
IsUpdated
true if the token has been updated; false otherwise.
Public Property
Locale
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.
Public Property
MemberGroups
Returns all the groups the user is a member of, but not an admin or an owner.
Public Property
Name
The name of the user this token represents.
Public Property
Nonce
String value used to associate a Client session with an ID Token, and to mitigate replay attacks
Public Property
OwnerGroups
Returns all the groups the user is an owner of.
Public Property
Phone
The phone of the user this token represents.
Public Property
Picture
The url of a picture/avatar/icon of the user this token represents.
Public Property
RawToken
The raw OpenIDConnect token.
Public Property
Sub
The unique id for the subject this token represents.
Public Property
UpdatedAt
The last time the token was updated.