共用方式為


OpenIdConnectAuthenticationOptions.ProtocolValidator Property

 

Gets or sets the OpenIdConnectProtocolValidator that is used ensure the 'id_token' received is valid per: http://openid.net/specs/openid-connect-core-1\_0.html\#IDTokenValidation

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

Syntax

public OpenIdConnectProtocolValidator ProtocolValidator { get; set; }
public:
property OpenIdConnectProtocolValidator^ ProtocolValidator {
    OpenIdConnectProtocolValidator^ get();
    void set(OpenIdConnectProtocolValidator^ value);
}
member ProtocolValidator : OpenIdConnectProtocolValidator with get, set
Public Property ProtocolValidator As OpenIdConnectProtocolValidator

Property Value

Type: Microsoft.IdentityModel.Protocols.OpenIdConnectProtocolValidator

Returns OpenIdConnectProtocolValidator.

Exceptions

Exception Condition
ArgumentNullException

if 'value' is null.

See Also

OpenIdConnectAuthenticationOptions Class
Microsoft.Owin.Security.OpenIdConnect Namespace

Return to top