RequestSecurityTokenResponse 构造函数
定义
初始化 RequestSecurityTokenResponse 类的新实例。Initializes a new instance of the RequestSecurityTokenResponse class.
重载
| RequestSecurityTokenResponse() |
初始化 RequestSecurityTokenResponse 类的新实例。Initializes a new instance of the RequestSecurityTokenResponse class. |
| RequestSecurityTokenResponse(WSTrustMessage) |
使用指定的请求消息初始化 RequestSecurityTokenResponse 类的新实例。Initializes a new instance of the RequestSecurityTokenResponse class based on the specified request message (RST) . |
RequestSecurityTokenResponse()
初始化 RequestSecurityTokenResponse 类的新实例。Initializes a new instance of the RequestSecurityTokenResponse class.
public:
RequestSecurityTokenResponse();
public RequestSecurityTokenResponse ();
Public Sub New ()
注解
此构造函数通常由 RSTR 的接收方使用。This constructor is usually used by the receiver of an RSTR.
适用于
RequestSecurityTokenResponse(WSTrustMessage)
使用指定的请求消息初始化 RequestSecurityTokenResponse 类的新实例。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)
参数
- message
- WSTrustMessage
一个表示请求的(RST) WSTrustMessage。A WSTrustMessage that represents the request (RST).
例外
message 为 null。message is null.
注解
此构造函数通常由 RSTR 的发送方使用。This constructor is usually used by the sender of an RSTR. 以下属性是从请求消息设置的: Context 、 KeyType , KeySizeInBits (如果密钥为对称) , RequestType 则为。The following properties are set from the request message: Context, KeyType, KeySizeInBits (if the key is symmetric), and RequestType.
备注
在质询/响应环境中工作时,将在 wst: RequestSecurityTokenResponse 上下文内使用 RequestType,以建立针对给定质询返回的响应的处理规则。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.