OpenIdConnectOptions.ProtocolValidator 属性

定义

获取或设置 OpenIdConnectProtocolValidator ,用于确保收到的“id_token”对于以下各项有效: http://openid.net/specs/openid-connect-core-1_0.html#IDTokenValidation

public:
 property Microsoft::IdentityModel::Protocols::OpenIdConnect::OpenIdConnectProtocolValidator ^ ProtocolValidator { Microsoft::IdentityModel::Protocols::OpenIdConnect::OpenIdConnectProtocolValidator ^ get(); void set(Microsoft::IdentityModel::Protocols::OpenIdConnect::OpenIdConnectProtocolValidator ^ value); };
public Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator ProtocolValidator { get; set; }
member this.ProtocolValidator : Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolValidator with get, set
Public Property ProtocolValidator As OpenIdConnectProtocolValidator

属性值

例外

如果“value”为 null,则为 。

适用于