Dela via


OpenIdConnectOptions Constructors

Definition

Overloads

OpenIdConnectOptions()

Initializes a new OpenIdConnectOptions

OpenIdConnectOptions(String)

Initializes a new OpenIdConnectOptions

OpenIdConnectOptions()

Initializes a new OpenIdConnectOptions

public:
 OpenIdConnectOptions();
public OpenIdConnectOptions ();
Public Sub New ()

Applies to

OpenIdConnectOptions(String)

Initializes a new OpenIdConnectOptions

public:
 OpenIdConnectOptions(System::String ^ authenticationScheme);
public OpenIdConnectOptions (string authenticationScheme);
new Microsoft.AspNetCore.Builder.OpenIdConnectOptions : string -> Microsoft.AspNetCore.Builder.OpenIdConnectOptions
Public Sub New (authenticationScheme As String)

Parameters

authenticationScheme
String

will be used to when creating the ClaimsIdentity for the AuthenticationScheme property.

Remarks

Defaults:

AddNonceToRequest: true.

BackchannelTimeout: 1 minute.

Caption: Caption.

ProtocolValidator: new OpenIdConnectProtocolValidator.

RefreshOnIssuerKeyNotFound: true

ResponseType: CodeIdToken

Scope: OpenIdProfile.

TokenValidationParameters: new TokenValidationParameters with AuthenticationScheme = authenticationScheme.

UseTokenLifetime: false.

Applies to