OpenIdConnectOptions Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.