Rediger

Del via


RsaSecurityTokenAuthenticator.ValidateTokenCore(SecurityToken) Method

Definition

Authenticates the specified security token and returns the set of authorization policies for the security token.

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)

Parameters

token
SecurityToken

The SecurityToken to be validated.

Returns

A ReadOnlyCollection<T> of type IAuthorizationPolicy that contains the set of authorization policies in effect for this application.

Remarks

When the Evaluate method is called on the authorization policy that is returned from this method, a claim of type Rsa is added to the ClaimSets property of the EvaluationContext that is passed into the Evaluate method.

Applies to