Export (0) Print
Expand All

SecurityTokenDescriptor Class

.NET Framework 4.5

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

System.Object
  System.IdentityModel.Tokens.SecurityTokenDescriptor

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

'Declaration
Public Class SecurityTokenDescriptor

The SecurityTokenDescriptor type exposes the following members.

  NameDescription
Public methodSecurityTokenDescriptorInitializes a new instance of the SecurityTokenDescriptor class.
Top

  NameDescription
Public propertyAppliesToAddressGets or sets the address for the AppliesTo property in the RequestSecurityTokenResponse.
Public propertyAttachedReferenceGets or sets the key identifier clause when the token is attached to the message
Public propertyAuthenticationInfoGets or sets the authentication information for the token.
Public propertyEncryptingCredentialsGets or sets the credentials that are used to encrypt the token.
Public propertyLifetimeGets or sets the lifetime information for the issued token.
Public propertyProofGets 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.
Public propertyPropertiesGets the properties bag for the issued token.
Public propertyReplyToAddressGets or sets the address for the ReplyToAddress property in the RequestSecurityTokenResponse.
Public propertySigningCredentialsGets or sets the credentials that are used to sign the token.
Public propertySubjectGets or sets the output claims to be included in the issued token.
Public propertyTokenGets or sets the issued security token.
Public propertyTokenIssuerNameGets or sets the issuer name, which may be used inside the issued token also.
Public propertyTokenTypeGets or sets the token type of the issued token
Public propertyUnattachedReferenceThe key identifier clause when the issued token is not attached to the message.
Top

  NameDescription
Public methodAddAuthenticationClaims(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.
Public methodAddAuthenticationClaims(String, DateTime)Adds claims for the specified authentication type and authentication instant to the subject of the current instance.
Public methodApplyToSets the appropriate properties of the specified RSTR based on the properties of the current instance.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft