WSFederationSerializer.CreateResponse Method
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.
Converts a WS-Federation Sign-In Response message object to a RequestSecurityTokenResponse object.
public:
virtual System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ CreateResponse(System::IdentityModel::Services::FederationMessage ^ message, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public virtual System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse CreateResponse (System.IdentityModel.Services.FederationMessage message, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
abstract member CreateResponse : System.IdentityModel.Services.FederationMessage * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse
override this.CreateResponse : System.IdentityModel.Services.FederationMessage * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse
Public Overridable Function CreateResponse (message As FederationMessage, context As WSTrustSerializationContext) As RequestSecurityTokenResponse
- message
- FederationMessage
The message to convert. This should be an instance of SignInResponseMessage.
- context
- WSTrustSerializationContext
The current serialization context.
A RequestSecurityTokenResponse object that represents the converted Sign-In Response message.
The message is not of type SignInResponseMessage.
-or-
The SignInResponseMessage object is missing required information to construct a valid RequestSecurityTokenResponse object.
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: