共用方式為


WindowsSecurityTokenAuthenticator.ValidateTokenCore(SecurityToken) 方法

定義

驗證指定的安全性權杖,並傳回安全性權杖的授權原則集合。

protected:
 override System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Policy::IAuthorizationPolicy ^> ^ ValidateTokenCore(System::IdentityModel::Tokens::SecurityToken ^ token);
protected override System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy> ValidateTokenCore (System.IdentityModel.Tokens.SecurityToken token);
override this.ValidateTokenCore : System.IdentityModel.Tokens.SecurityToken -> System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Policy.IAuthorizationPolicy>
Protected Overrides Function ValidateTokenCore (token As SecurityToken) As ReadOnlyCollection(Of IAuthorizationPolicy)

參數

token
SecurityToken

要驗證的 SecurityToken

傳回

型別為 ReadOnlyCollection<T>IAuthorizationPolicy,其中包含對這個應用程式有效用的授權原則集合。

適用於