Class AuthenticationConstants
Constants used in Dangl.Identity.Client.Mvc
Inheritance
Inherited Members
Namespace: Dangl.Identity.Client.Mvc.Configuration
Assembly: Dangl.Identity.Client.Mvc.dll
Syntax
public static class AuthenticationConstants
Fields
| Improve this Doc View SourceCLIENT_CLAIM_USER_ID_TRANSMISSION
This is the client claim that is required to be set to "true" so that clients may transmit user ids in inter-service requests.
Declaration
public const string CLIENT_CLAIM_USER_ID_TRANSMISSION = "user_delegation_allowed"
Field Value
Type | Description |
---|---|
System.String |
JWT_BASE_SCHEME
The default scheme for Jwt authentication
Declaration
public const string JWT_BASE_SCHEME = "Dangl.Identity"
Field Value
Type | Description |
---|---|
System.String |
JWT_FALLBACK_SCHEME
The fallback scheme for Jwt authentication
Declaration
public const string JWT_FALLBACK_SCHEME = "Dangl.Identity.Fallback"
Field Value
Type | Description |
---|---|
System.String |
OPEN_ID_LOGIN_SCHEME
The default login scheme for OpenId
Declaration
public const string OPEN_ID_LOGIN_SCHEME = "Dangl.Identity.OpenId"
Field Value
Type | Description |
---|---|
System.String |
USER_EMAIL_TRANSMISSION_HEADER
This is the name of the header that is used to transmit user emails in inter-service communications. Should not be prefixed with "X-", see https://stackoverflow.com/questions/3561381/custom-http-headers-naming-conventions. Doing it anyways, since this header will clearly never be used in a public way, meaning outside of Dangl.Identity and connected services.
Declaration
public const string USER_EMAIL_TRANSMISSION_HEADER = "X-DanglIdentityUserEmail"
Field Value
Type | Description |
---|---|
System.String |
USER_ID_TRANSMISSION_HEADER
This is the name of the header that is used to transmit user ids in inter-service communications. Should not be prefixed with "X-", see https://stackoverflow.com/questions/3561381/custom-http-headers-naming-conventions. Doing it anyways, since this header will clearly never be used in a public way, meaning outside of Dangl.Identity and connected services.
Declaration
public const string USER_ID_TRANSMISSION_HEADER = "X-DanglIdentityUserId"
Field Value
Type | Description |
---|---|
System.String |
USER_IDENTICON_ID_TRANSMISSION_HEADER
This is the name of the header that is used to transmit user identicon ids in inter-service communications. Should not be prefixed with "X-", see https://stackoverflow.com/questions/3561381/custom-http-headers-naming-conventions. Doing it anyways, since this header will clearly never be used in a public way, meaning outside of Dangl.Identity and connected services.
Declaration
public const string USER_IDENTICON_ID_TRANSMISSION_HEADER = "X-DanglIdentityUserIdenticonId"
Field Value
Type | Description |
---|---|
System.String |
USER_NAME_TRANSMISSION_HEADER
This is the name of the header that is used to transmit user names in inter-service communications. Should not be prefixed with "X-", see https://stackoverflow.com/questions/3561381/custom-http-headers-naming-conventions. Doing it anyways, since this header will clearly never be used in a public way, meaning outside of Dangl.Identity and connected services.
Declaration
public const string USER_NAME_TRANSMISSION_HEADER = "X-DanglIdentityUserName"
Field Value
Type | Description |
---|---|
System.String |