WSFederationSerializer.CreateResponse Method
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.
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
Parameters
- message
- FederationMessage
The message to convert. This should be an instance of SignInResponseMessage.
- context
- WSTrustSerializationContext
The current serialization context.
Returns
A RequestSecurityTokenResponse object that represents the converted Sign-In Response message.
Exceptions
The message is not of type SignInResponseMessage.
-or-
The SignInResponseMessage object is missing required information to construct a valid RequestSecurityTokenResponse object.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om