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.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor