Muokkaa

Jaa


RequestSecurityTokenResponse Constructors

Definition

Initializes a new instance of the RequestSecurityTokenResponse class.

Overloads

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

RequestSecurityTokenResponse()

Initializes a new instance of the RequestSecurityTokenResponse class.

public:
 RequestSecurityTokenResponse();
public RequestSecurityTokenResponse ();
Public Sub New ()

Remarks

This constructor is usually used by the receiver of an RSTR.

Applies to

RequestSecurityTokenResponse(WSTrustMessage)

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

public:
 RequestSecurityTokenResponse(System::IdentityModel::Protocols::WSTrust::WSTrustMessage ^ message);
public RequestSecurityTokenResponse (System.IdentityModel.Protocols.WSTrust.WSTrustMessage message);
new System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse : System.IdentityModel.Protocols.WSTrust.WSTrustMessage -> System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse
Public Sub New (message As WSTrustMessage)

Parameters

message
WSTrustMessage

A WSTrustMessage that represents the request (RST).

Exceptions

message is null.

Remarks

This constructor is usually used by the sender of an RSTR. The following properties are set from the request message: Context, KeyType, KeySizeInBits (if the key is symmetric), and RequestType.

Note

When working in a Challenge/Response environment the RequestType is used within the wst:RequestSecurityTokenResponse context to establish processing rules on a response coming back for a given challenge.

Applies to