RequestSecurityTokenResponse RequestSecurityTokenResponse RequestSecurityTokenResponse RequestSecurityTokenResponse Class

Definition

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

public ref class RequestSecurityTokenResponse : System::IdentityModel::Protocols::WSTrust::WSTrustMessage
public class RequestSecurityTokenResponse : System.IdentityModel.Protocols.WSTrust.WSTrustMessage
type RequestSecurityTokenResponse = class
    inherit WSTrustMessage
Public Class RequestSecurityTokenResponse
Inherits WSTrustMessage
Inheritance
RequestSecurityTokenResponseRequestSecurityTokenResponseRequestSecurityTokenResponseRequestSecurityTokenResponse

Remarks

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 RequestSecurityTokenResponse 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.

Constructors

RequestSecurityTokenResponse() RequestSecurityTokenResponse() RequestSecurityTokenResponse() RequestSecurityTokenResponse()

Initializes a new instance of the RequestSecurityTokenResponse class.

RequestSecurityTokenResponse(WSTrustMessage) RequestSecurityTokenResponse(WSTrustMessage) RequestSecurityTokenResponse(WSTrustMessage) RequestSecurityTokenResponse(WSTrustMessage)

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

Properties

AllowPostdating AllowPostdating AllowPostdating AllowPostdating

Gets or sets the contents of the wst:AllowPostdating element.

(Inherited from WSTrustMessage)
AppliesTo AppliesTo AppliesTo AppliesTo

Gets or sets the contents of the wsp:AppliesTo element.

(Inherited from WSTrustMessage)
AuthenticationType AuthenticationType AuthenticationType AuthenticationType

Gets or sets the contents of the wst:AuthenticationType element.

(Inherited from WSTrustMessage)
BinaryExchange BinaryExchange BinaryExchange BinaryExchange

Gets or sets the contents of the wst:BinaryExchange element.

(Inherited from WSTrustMessage)
CanonicalizationAlgorithm CanonicalizationAlgorithm CanonicalizationAlgorithm CanonicalizationAlgorithm

Gets or sets the contents of the wst:CanonicalizationAlgorithm element.

(Inherited from WSTrustMessage)
Context Context Context Context

Gets or sets the contents of the Context attribute on the RST or RSTR.

(Inherited from WSTrustMessage)
EncryptionAlgorithm EncryptionAlgorithm EncryptionAlgorithm EncryptionAlgorithm

Gets or sets the contents of the wst:EncryptionAlgorithm element.

(Inherited from WSTrustMessage)
EncryptWith EncryptWith EncryptWith EncryptWith

Gets or sets the contents of the wst:EncryptWith element.

(Inherited from WSTrustMessage)
Entropy Entropy Entropy Entropy

Gets or sets the contents of the wst:Entropy element.

(Inherited from WSTrustMessage)
IsFinal IsFinal IsFinal IsFinal

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

KeySizeInBits KeySizeInBits KeySizeInBits KeySizeInBits

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

(Inherited from WSTrustMessage)
KeyType KeyType KeyType KeyType

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

(Inherited from WSTrustMessage)
KeyWrapAlgorithm KeyWrapAlgorithm KeyWrapAlgorithm KeyWrapAlgorithm

Gets or sets the contents of the wst:KeyWrapAlgorithm element.

(Inherited from WSTrustMessage)
Lifetime Lifetime Lifetime Lifetime

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

(Inherited from WSTrustMessage)
Properties Properties Properties Properties

Gets the properties bag to extend the object.

(Inherited from OpenObject)
ReplyTo ReplyTo ReplyTo ReplyTo

Gets or sets the address to be used for replying to the Relying Party.

(Inherited from WSTrustMessage)
RequestedAttachedReference RequestedAttachedReference RequestedAttachedReference RequestedAttachedReference

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

RequestedProofToken RequestedProofToken RequestedProofToken RequestedProofToken

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

RequestedSecurityToken RequestedSecurityToken RequestedSecurityToken RequestedSecurityToken

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

RequestedTokenCancelled RequestedTokenCancelled RequestedTokenCancelled RequestedTokenCancelled

Gets or sets the wst:RequestedTokenCancelled element.

RequestedUnattachedReference RequestedUnattachedReference RequestedUnattachedReference RequestedUnattachedReference

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

RequestType RequestType RequestType RequestType

Gets or sets the wst:RequestType element.

(Inherited from WSTrustMessage)
SignatureAlgorithm SignatureAlgorithm SignatureAlgorithm SignatureAlgorithm

Gets or sets the contents of the wst:SignatureAlgorithm element.

(Inherited from WSTrustMessage)
SignWith SignWith SignWith SignWith

Gets or sets the contents of the wst:SignWith element.

(Inherited from WSTrustMessage)
Status Status Status Status

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

TokenType TokenType TokenType TokenType

Gets or sets the contents of the wst:TokenType element.

(Inherited from WSTrustMessage)
UseKey UseKey UseKey UseKey

Gets or sets the contents of the wst:UseKey element.

(Inherited from WSTrustMessage)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also