Language

OpenIdConnectAuthenticationOptions Constructor (String)

Initializes a new OpenIdConnectAuthenticationOptions

Namespace:  Microsoft.Owin.Security.OpenIdConnect
Assembly:  Microsoft.Owin.Security.OpenIdConnect (in Microsoft.Owin.Security.OpenIdConnect.dll)

Syntax

'Declaration
Public Sub New ( _
    authenticationType As String _
)
'Usage
Dim authenticationType As String 

Dim instance As New OpenIdConnectAuthenticationOptions(authenticationType)
public OpenIdConnectAuthenticationOptions(
    string authenticationType
)
public:
OpenIdConnectAuthenticationOptions(
    String^ authenticationType
)
new : 
        authenticationType:string -> OpenIdConnectAuthenticationOptions
public function OpenIdConnectAuthenticationOptions(
    authenticationType : String
)

Parameters

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.

See Also

Reference

OpenIdConnectAuthenticationOptions Class

OpenIdConnectAuthenticationOptions Overload

Microsoft.Owin.Security.OpenIdConnect Namespace