OpenIdConnectAuthenticationOptions Constructor
Namespace: Microsoft.Owin.Security.OpenIdConnect
Assembly: Microsoft.Owin.Security.OpenIdConnect (in Microsoft.Owin.Security.OpenIdConnect.dll)
Overload List
Name | Description | |
---|---|---|
OpenIdConnectAuthenticationOptions() | Initializes a new OpenIdConnectAuthenticationOptions |
|
OpenIdConnectAuthenticationOptions(String) | Initializes a new OpenIdConnectAuthenticationOptions |
See Also
OpenIdConnectAuthenticationOptions Class
Microsoft.Owin.Security.OpenIdConnect Namespace
Return to top
OpenIdConnectAuthenticationOptions Constructor ()
Initializes a new OpenIdConnectAuthenticationOptions
Syntax
public OpenIdConnectAuthenticationOptions()
public:
OpenIdConnectAuthenticationOptions()
new : unit -> OpenIdConnectAuthenticationOptions
Public Sub New
Return to top
OpenIdConnectAuthenticationOptions Constructor (String)
Initializes a new OpenIdConnectAuthenticationOptions
Syntax
public OpenIdConnectAuthenticationOptions(
string authenticationType
)
public:
OpenIdConnectAuthenticationOptions(
String^ authenticationType
)
new :
authenticationType:string -> OpenIdConnectAuthenticationOptions
Public Sub New (
authenticationType As String
)
Parameters
authenticationType
Type: System.Stringwill be used to when creating the ClaimsIdentity for the AuthenticationType property.
Remarks
Defaults:
AddNonceToRequest: true.
AuthenticationMode: Active.
BackchannelTimeout: 1 minute.
Caption: Caption.
ProtocolValidator: new OpenIdConnectProtocolValidator.
RefreshOnIssuerKeyNotFound: true
ResponseType: CodeIdToken
Scope: OpenIdProfile.
TokenValidationParameters: new TokenValidationParameters with AuthenticationType = authenticationType.
UseTokenLifetime: true.
Return to top