共用方式為


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,則為 。

適用於