Class OpenIdUserInfoClaims
A static class exposing authenticated user info claims key name.
Inherited Members
Namespace: Unity.Cloud.Identity
Assembly: Unity.Cloud.Identity.dll
Syntax
public static class OpenIdUserInfoClaims
Fields
AccessToken
The access token used to fetch the claims from the /userinfo endpoint.
Declaration
public const string AccessToken = "access_token"
Field Value
| Type | Description |
|---|---|
| string |
The unique email used to authenticate the user in the authentication flow.
Declaration
public const string Email = "email"
Field Value
| Type | Description |
|---|---|
| string |
FamilyName
The family name of the user as provided by the authenticator party.
Declaration
public const string FamilyName = "family_name"
Field Value
| Type | Description |
|---|---|
| string |
GivenName
The given name of the user as provided by the authenticator party.
Declaration
public const string GivenName = "given_name"
Field Value
| Type | Description |
|---|---|
| string |
Id
The unique identifier of the user as provided by the authenticator party in the "sub" property of the /userinfo endpoint response.
Declaration
public const string Id = "id"
Field Value
| Type | Description |
|---|---|
| string |
Remarks
This value is not guaranteed to be a valid Unity Id account, since it can be provided by any authenticator party.
Name
The full name of the user as provided by the authenticator party.
Declaration
public const string Name = "name"
Field Value
| Type | Description |
|---|---|
| string |
Picture
The absolute https path to the user picture as provided by the authenticator party.
Declaration
public const string Picture = "picture"
Field Value
| Type | Description |
|---|---|
| string |