Edit

Share via


SecurityTokenDescriptor Class

Definition

This is a place holder for all the attributes related to the issued token.

public ref class SecurityTokenDescriptor
public class SecurityTokenDescriptor
type SecurityTokenDescriptor = class
Public Class SecurityTokenDescriptor
Inheritance
SecurityTokenDescriptor

Constructors

SecurityTokenDescriptor()

Initializes a new instance of the SecurityTokenDescriptor class.

Properties

AppliesToAddress

Gets or sets the address for the AppliesTo property in the RequestSecurityTokenResponse.

AttachedReference

Gets or sets the key identifier clause when the token is attached to the message.

AuthenticationInfo

Gets or sets the authentication information for the token.

EncryptingCredentials

Gets or sets the credentials that are used to encrypt the token.

Lifetime

Gets or sets the lifetime information for the issued token.

Proof

Gets or sets the proof descriptor for the issued token, which can be used to modify some fields inside the RSTR, such as requested proof token.

Properties

Gets the properties bag for the issued token.

ReplyToAddress

Gets or sets the address for the ReplyToAddress property in the RequestSecurityTokenResponse.

SigningCredentials

Gets or sets the credentials that are used to sign the token.

Subject

Gets or sets the output claims to be included in the issued token.

Token

Gets or sets the issued security token.

TokenIssuerName

Gets or sets the issuer name, which may be used inside the issued token also.

TokenType

Gets or sets the token type of the issued token.

UnattachedReference

The key identifier clause when the issued token is not attached to the message.

Methods

AddAuthenticationClaims(String, DateTime)

Adds claims for the specified authentication type and authentication instant to the subject of the current instance.

AddAuthenticationClaims(String)

Adds a claim for the specified authentication method to the subject of the current instance. The authentication instant is set to the current time.

ApplyTo(RequestSecurityTokenResponse)

Sets the appropriate properties of the specified RSTR based on the properties of the current instance.

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)

Applies to