Redigera

Dela via


SamlSecurityTokenAuthenticator Class

Definition

Authenticates a SamlSecurityToken security token.

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

Remarks

Use the SamlSecurityTokenAuthenticator class to authenticate SamlSecurityToken security tokens.

Constructors

SamlSecurityTokenAuthenticator(IList<SecurityTokenAuthenticator>, TimeSpan)

Initializes a new instance of the SamlSecurityTokenAuthenticator class using the specified set of authenticators and the maximum allowable difference between the sender's and receiver's clocks.

SamlSecurityTokenAuthenticator(IList<SecurityTokenAuthenticator>)

Initializes a new instance of the SamlSecurityTokenAuthenticator class using the specified set of authenticators.

Properties

AllowedAudienceUris

Gets the set of target URIs for which the SamlSecurityToken security token can be targeted for to be considered valid by this SamlSecurityTokenAuthenticator instance.

AudienceUriMode

Gets or sets an AudienceUriMode that specifies whether the SamlSecurityToken security token's SamlAudienceRestrictionCondition should be validated.

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 the specified security token can be validated by this security token authenticator.

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)
ResolveClaimSet(SecurityKeyIdentifier)

Resolves the identity associated with the specified key identifier using the supporting security authenticators provided when the SamlSecurityTokenAuthenticator instance was created and returns it as a ClaimSet.

ResolveClaimSet(SecurityToken)

Resolves the identity associated with the specified security token using the supporting token authenticators provided when the SamlSecurityTokenAuthenticator instance was created and returns it as a ClaimSet.

ResolveIdentity(SecurityKeyIdentifier)

Resolves the identity associated with the specified key identifier using the supporting security token authenticators provided when the SamlSecurityTokenAuthenticator instance was created and returns it as an IIdentity.

ResolveIdentity(SecurityToken)

Resolves the identity associated with the specified security token using the supporting security token authenticators provided when the SamlSecurityTokenAuthenticator instance was created and returns it as an IIdentity.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValidateAudienceRestriction(SamlAudienceRestrictionCondition)

Validates that the SamlSecurityToken security token was intended for this Web service.

ValidateToken(SecurityToken)

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

(Inherited from SecurityTokenAuthenticator)
ValidateTokenCore(SecurityToken)

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

Applies to