RequestSecurityTokenResponse Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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() |
Initializes a new instance of the RequestSecurityTokenResponse class. |
RequestSecurityTokenResponse(WSTrustMessage) |
Initializes a new instance of the RequestSecurityTokenResponse class based on the specified request message (RST) . |
Properties
AllowPostdating |
Gets or sets the contents of the wst:AllowPostdating element. (Inherited from WSTrustMessage) |
AppliesTo |
Gets or sets the contents of the wsp:AppliesTo element. (Inherited from WSTrustMessage) |
AuthenticationType |
Gets or sets the contents of the wst:AuthenticationType element. (Inherited from WSTrustMessage) |
BinaryExchange |
Gets or sets the contents of the wst:BinaryExchange element. (Inherited from WSTrustMessage) |
CanonicalizationAlgorithm |
Gets or sets the contents of the wst:CanonicalizationAlgorithm element. (Inherited from WSTrustMessage) |
Context |
Gets or sets the contents of the Context attribute on the RST or RSTR. (Inherited from WSTrustMessage) |
EncryptionAlgorithm |
Gets or sets the contents of the wst:EncryptionAlgorithm element. (Inherited from WSTrustMessage) |
EncryptWith |
Gets or sets the contents of the wst:EncryptWith element. (Inherited from WSTrustMessage) |
Entropy |
Gets or sets the contents of the wst:Entropy element. (Inherited from WSTrustMessage) |
IsFinal |
Gets or sets the flag that determines if the RSTR is the final message and should be serialized as such. |
KeySizeInBits |
Gets or sets the contents of the wst:KeySize element inside a RequestSecurityToken (RST) message. (Inherited from WSTrustMessage) |
KeyType |
Gets or sets the contents of the wst:KeyType element inside a RequestSecurityToken (RST) message. (Inherited from WSTrustMessage) |
KeyWrapAlgorithm |
Gets or sets the contents of the wst:KeyWrapAlgorithm element. (Inherited from WSTrustMessage) |
Lifetime |
Gets or sets the contents of the wst:Lifetime element inside a RequestSecurityToken (RST) message. (Inherited from WSTrustMessage) |
Properties |
Gets the properties bag to extend the object. (Inherited from OpenObject) |
ReplyTo |
Gets or sets the address to be used for replying to the Relying Party. (Inherited from WSTrustMessage) |
RequestedAttachedReference |
Gets or sets the security token reference when the requested token is attached to the message. |
RequestedProofToken |
Gets or sets the optional element used to return the proof of possession token. |
RequestedSecurityToken |
Gets or sets the optional element used to return the requested security token. |
RequestedTokenCancelled |
Gets or sets the wst:RequestedTokenCancelled element. |
RequestedUnattachedReference |
Gets or sets the security token reference when the requested token is not attached to the message. |
RequestType |
Gets or sets the wst:RequestType element. (Inherited from WSTrustMessage) |
SignatureAlgorithm |
Gets or sets the contents of the wst:SignatureAlgorithm element. (Inherited from WSTrustMessage) |
SignWith |
Gets or sets the contents of the wst:SignWith element. (Inherited from WSTrustMessage) |
Status |
Gets or sets the wst:Status element in the RSTR. |
TokenType |
Gets or sets the contents of the wst:TokenType element. (Inherited from WSTrustMessage) |
UseKey |
Gets or sets the contents of the wst:UseKey element. (Inherited from WSTrustMessage) |
Methods
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) |