OpenIdConnectDefaults Class

Default values related to OpenIdConnect authentication middleware

Namespace
Microsoft.AspNetCore.Authentication.OpenIdConnect
Assemblies
  • Microsoft.AspNetCore.Authentication.OpenIdConnect

Syntax

public class OpenIdConnectDefaults
class Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectDefaults

Fields

AuthenticationPropertiesKey()

Constant used to identify state in openIdConnect protocol message.

Return type:System.String
public static readonly string AuthenticationPropertiesKey
AuthenticationScheme()

The default value used for OpenIdConnectOptions.AuthenticationScheme.

Return type:System.String
public const string AuthenticationScheme = "OpenIdConnect"
Caption()

The default value for OpenIdConnectOptions.Caption.

Return type:System.String
public static readonly string Caption
CookieNoncePrefix()

The prefix used to for the nonce in the cookie.

Return type:System.String
public static readonly string CookieNoncePrefix
RedirectUriForCodePropertiesKey()

The property for the RedirectUri that was used when asking for a ‘authorizationCode’.

Return type:System.String
public static readonly string RedirectUriForCodePropertiesKey
UserstatePropertiesKey()

Constant used to identify userstate inside AuthenticationProperties that have been serialized in the ‘state’ parameter.

Return type:System.String
public static readonly string UserstatePropertiesKey