編輯

共用方式為


SecurityContextSecurityTokenAuthenticator Class

Definition

Validates tokens and extracts claims.

public ref class SecurityContextSecurityTokenAuthenticator : System::IdentityModel::Selectors::SecurityTokenAuthenticator
public class SecurityContextSecurityTokenAuthenticator : System.IdentityModel.Selectors.SecurityTokenAuthenticator
type SecurityContextSecurityTokenAuthenticator = class
    inherit SecurityTokenAuthenticator
Public Class SecurityContextSecurityTokenAuthenticator
Inherits SecurityTokenAuthenticator
Inheritance
SecurityContextSecurityTokenAuthenticator

Remarks

This authenticator validates only SecurityContextSecurityTokens.

Constructors

SecurityContextSecurityTokenAuthenticator()

Initializes a new instance of the SecurityContextSecurityTokenAuthenticator class.

Methods

CanValidateToken(SecurityToken)

Gets a value indicating whether the specified security token can be validated by this security token authenticator.

(Inherited from SecurityTokenAuthenticator)
CanValidateTokenCore(SecurityToken)

Gets a value that indicates whether a specified token can be validated.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValidateToken(SecurityToken)

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

(Inherited from SecurityTokenAuthenticator)
ValidateTokenCore(SecurityToken)

Validates a specified token.

Applies to