RequestSecurityTokenResponse Class

.NET Framework (current version)
 

Represents the wst:RequestSecurityTokenResponse element, which is used to return a security token.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

System.Object
  System.IdentityModel.OpenObject
    System.IdentityModel.Protocols.WSTrust.WSTrustMessage
      System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse

public class RequestSecurityTokenResponse : WSTrustMessage

NameDescription
System_CAPS_pubmethodRequestSecurityTokenResponse()

Initializes a new instance of the RequestSecurityTokenResponse class.

System_CAPS_pubmethodRequestSecurityTokenResponse(WSTrustMessage)

Initializes a new instance of the RequestSecurityTokenResponse class based on the specified request message (RST) .

NameDescription
System_CAPS_pubpropertyAllowPostdating

Gets or sets the contents of the wst:AllowPostdating element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyAppliesTo

Gets or sets the contents of the wsp:AppliesTo element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyAuthenticationType

Gets or sets the contents of the wst:AuthenticationType element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyBinaryExchange

Gets or sets the contents of the wst:BinaryExchange element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyCanonicalizationAlgorithm

Gets or sets the contents of the wst:CanonicalizationAlgorithm element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyContext

Gets or sets the contents of the Context attribute on the RST or RSTR.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyEncryptionAlgorithm

Gets or sets the contents of the wst:EncryptionAlgorithm element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyEncryptWith

Gets or sets the contents of the wst:EncryptWith element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyEntropy

Gets or sets the contents of the wst:Entropy element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyIsFinal

Gets or sets the flag that determines if the RSTR is the final message and should be serialized as such.

System_CAPS_pubpropertyKeySizeInBits

Gets or sets the contents of the wst:KeySize element inside a RequestSecurityToken (RST) message.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyKeyType

Gets or sets the contents of the wst:KeyType element inside a RequestSecurityToken (RST) message.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyKeyWrapAlgorithm

Gets or sets the contents of the wst:KeyWrapAlgorithm element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyLifetime

Gets or sets the contents of the wst:Lifetime element inside a RequestSecurityToken (RST) message.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyProperties

Get the properties bag to extend the object.(Inherited from OpenObject.)

System_CAPS_pubpropertyReplyTo

Gets or sets the address to be used for replying to the Relying Party.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyRequestedAttachedReference

Gets or sets the security token reference when the requested token is attached to the message.

System_CAPS_pubpropertyRequestedProofToken

Gets or sets the optional element used to return the proof of possession token.

System_CAPS_pubpropertyRequestedSecurityToken

Gets or sets the optional element used to return the requested security token.

System_CAPS_pubpropertyRequestedTokenCancelled

Gets or sets the wst:RequestedTokenCancelled element.

System_CAPS_pubpropertyRequestedUnattachedReference

Gets or sets the security token reference when the requested token is not attached to the message.

System_CAPS_pubpropertyRequestType

Gets or sets the wst:RequestType element. (Inherited from WSTrustMessage.)

System_CAPS_pubpropertySignatureAlgorithm

Gets or sets the contents of the wst:SignatureAlgorithm element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertySignWith

Gets or sets the contents of the wst:SignWith element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyStatus

Gets or sets the wst:Status element in the RSTR.

System_CAPS_pubpropertyTokenType

Gets or sets the contents of the wst:TokenType element.(Inherited from WSTrustMessage.)

System_CAPS_pubpropertyUseKey

Gets or sets the contents of the wst:UseKey element.(Inherited from WSTrustMessage.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The wst:RequestSecurityTokenResponse element (message) contains the parameters and properties in the response sent by a security token service (STS) to a security token request (RST) made by a client. The response message (or element) is abbreviated as RSTR. The T:System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenRequest class contains properties that represent the elements of the RSTR. An RSTR can form a response to a request that corresponds to any of the request bindings defined by WS-Trust; for example, the Issuance binding, the Renewal binding, the Validate binding, or the Cancel binding. Many of the properties in the RequestSecurityTokenResponse class correspond to elements that are present only in specific kinds of responses as defined by these bindings. Depending on the kind of response a particular RequestSecurityTokenResponse object represents or the parameters present in the specific response that it represents, some properties of the object may be null.

Requests arrive at the STS in a message that contains a wst:RequestSecurityToken element (RST). This message is represented by the RequestSecurityToken class.

For more information about the element that this class represents, see the version of the WS-Trust specification that applies to your scenario.

.NET Framework
Available since 4.5

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

T:System.IdentityModel.SecurityTokenService.SecurityTokenService
RequestSecurityToken
RequestSecurityTokenResponse
System.IdentityModel.Protocols.WSTrust Namespace

Return to top
Show: