Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityTokenManager::CreateSecurityTokenAuthenticator Method (SecurityTokenRequirement^, SecurityTokenResolver^%)

 

Gets a security token authenticator that meets the specified security token requirements.

Namespace:   System.IdentityModel.Selectors
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public:
virtual SecurityTokenAuthenticator^ CreateSecurityTokenAuthenticator(
	SecurityTokenRequirement^ tokenRequirement,
	[OutAttribute] SecurityTokenResolver^% outOfBandTokenResolver
) abstract

Parameters

tokenRequirement
Type: System.IdentityModel.Selectors::SecurityTokenRequirement^

A SecurityTokenRequirement that specifies the security token requirements.

outOfBandTokenResolver
Type: System.IdentityModel.Selectors::SecurityTokenResolver^%

A SecurityTokenResolver that determines the security token that matches the specified security token requirements.

Return Value

Type: System.IdentityModel.Selectors::SecurityTokenAuthenticator^

A SecurityTokenAuthenticator that authenticates security tokens in incoming SOAP messages that meet the specified requirements.

A SecurityTokenManager class provides types that can provide security tokens for outgoing SOAP messages and authenticate security tokens in incoming SOAP messages. The CreateSecurityTokenAuthenticator(SecurityTokenRequirement^, SecurityTokenResolver^%) method returns a class that can authenticate security tokens that match the criteria specified in the tokenRequirement parameter.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft