Поделиться через


OpenIdConnectAuthenticationOptions Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod OpenIdConnectAuthenticationOptions()

Initializes a new OpenIdConnectAuthenticationOptions

System_CAPS_pubmethod 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

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