Επεξεργασία

Κοινή χρήση μέσω


WSTrustServiceContract.GetSecurityHeaderTokenResolver(RequestContext) Method

Definition

Returns the SecurityTokenResolver that resolves the following security tokens contained in the security header of the current WCF message request: protection token, endorsing, or signed endorsing supporting tokens.

protected:
 virtual System::IdentityModel::Selectors::SecurityTokenResolver ^ GetSecurityHeaderTokenResolver(System::ServiceModel::Channels::RequestContext ^ requestContext);
protected virtual System.IdentityModel.Selectors.SecurityTokenResolver GetSecurityHeaderTokenResolver (System.ServiceModel.Channels.RequestContext requestContext);
abstract member GetSecurityHeaderTokenResolver : System.ServiceModel.Channels.RequestContext -> System.IdentityModel.Selectors.SecurityTokenResolver
override this.GetSecurityHeaderTokenResolver : System.ServiceModel.Channels.RequestContext -> System.IdentityModel.Selectors.SecurityTokenResolver
Protected Overridable Function GetSecurityHeaderTokenResolver (requestContext As RequestContext) As SecurityTokenResolver

Parameters

requestContext
RequestContext

The context associated with the request.

Returns

The security token resolver that is used to resolve any SecurityTokenIdentifiers when deserializing RST UseKey elements or RST RenewTarget elements.

Exceptions

requestContext is null.

Remarks

This SecurityTokenResolver is used to resolve any SecurityTokenIdentifiers when deserializing RST UseKey elements or RST RenewTarget elements.

Applies to