Table of Contents

Class Constants

Namespace
Arc4u.OAuth2
Assembly
Arc4u.OAuth2.dll

Constants shared by the Arc4u OAuth2 authentication packages (authentication types, scheme names and default scopes).

public class Constants
Inheritance
Constants
Inherited Members

Fields

BearerAuthenticationType

The authentication type (OAuth2) given to an identity built from a bearer token.

public const string BearerAuthenticationType = "OAuth2"

Field Value

string

ChallengePolicyScheme

The name of the policy scheme (Arc4uScheme) that selects the JWT, cookie or OpenID Connect handler for each request.

public const string ChallengePolicyScheme = "Arc4uScheme"

Field Value

string

CookieName

The default name of the authentication cookie (.Arc4u.Cookies).

public const string CookieName = ".Arc4u.Cookies"

Field Value

string

CookiesAuthenticationType

The authentication type (Cookies) given to an identity built from an authentication cookie.

public const string CookiesAuthenticationType = "Cookies"

Field Value

string

InjectAuthenticationType

The authentication type (Inject) given to an identity built by the bearer injector middleware.

public const string InjectAuthenticationType = "Inject"

Field Value

string

OpenIdScope

The default OpenID Connect scope (openid) requested when no scope is configured.

public const string OpenIdScope = "openid"

Field Value

string