แก้ไข

แชร์ผ่าน


SignInResponseMessage Class

Definition

Represents a WS-Federation Sign-In Response message.

public ref class SignInResponseMessage : System::IdentityModel::Services::WSFederationMessage
public class SignInResponseMessage : System.IdentityModel.Services.WSFederationMessage
type SignInResponseMessage = class
    inherit WSFederationMessage
Public Class SignInResponseMessage
Inherits WSFederationMessage
Inheritance

Remarks

This message is created when the action parameter (wa) of the received message is "wsignin1.0" and the message contains a wresult or a wresultptr parameter.

When converting a RequestSecurityTokenResponse object to a SignInResponseMessage object, the context attribute on the RequestSecurityTokenResponse message is not transferred over, and must be explicitly set.

For more information about the message that this class represents, see section 13 of the following specification: Web Services Federation Language (WS-Federation) Version 1.2.

For more information about the message that this class represents, see the WS-Federation specification.

Constructors

SignInResponseMessage(Uri, RequestSecurityTokenResponse, WSFederationSerializer, WSTrustSerializationContext)

Initializes a new instance of the SignInResponseMessage class by using the specified base URL, response message object, federation serializer, and serialization context.

SignInResponseMessage(Uri, String)

Initializes a new instance of the SignInResponseMessage class with the specified base URL and wresult parameter.

SignInResponseMessage(Uri, Uri)

Initializes an instance of the SignInResponseMessage class using the specified base URL and wresultptr parameter.

Properties

Action

Gets or sets the wa parameter of the message.

(Inherited from WSFederationMessage)
BaseUri

Gets or sets the base URL to which the message applies.

(Inherited from FederationMessage)
Context

Gets or sets the wctx parameter of the message.

(Inherited from WSFederationMessage)
Encoding

Gets or sets the wencoding parameter of the message.

(Inherited from WSFederationMessage)
Parameters

Gets the message parameters as a dictionary.

(Inherited from FederationMessage)
Result

Gets or sets the wresult parameter of the message.

ResultPtr

Gets or sets the wresultptr parameter of the message.

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)
GetParameter(String)

Returns the specified parameter value from the parameters dictionary.

(Inherited from FederationMessage)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveParameter(String)

Removes a parameter from the parameters dictionary.

(Inherited from FederationMessage)
SetParameter(String, String)

Sets the value of a parameter in the parameters dictionary.

(Inherited from FederationMessage)
SetUriParameter(String, String)

Sets the value of a parameter in the parameters dictionary. The value must be an absolute URI.

(Inherited from FederationMessage)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate()

Validates the current instance.

Write(TextWriter)

Writes this message in a form post format to the specified text writer.

WriteFormPost()

Serializes the message as a form post and returns the resulting Form together with its Javascript as a string.

(Inherited from FederationMessage)
WriteQueryString()

Returns a string representation of the message in query-string format.

(Inherited from FederationMessage)

Applies to