Compartilhar via


AzureServiceCredentialsSecurityTokenManager.CreateSecurityTokenAuthenticator Method

Definition

Creates a security token authenticator.

public override CoreWCF.IdentityModel.Selectors.SecurityTokenAuthenticator CreateSecurityTokenAuthenticator (CoreWCF.IdentityModel.Selectors.SecurityTokenRequirement tokenRequirement, out CoreWCF.IdentityModel.Selectors.SecurityTokenResolver outOfBandTokenResolver);
override this.CreateSecurityTokenAuthenticator : CoreWCF.IdentityModel.Selectors.SecurityTokenRequirement * SecurityTokenResolver -> CoreWCF.IdentityModel.Selectors.SecurityTokenAuthenticator
Public Overrides Function CreateSecurityTokenAuthenticator (tokenRequirement As SecurityTokenRequirement, ByRef outOfBandTokenResolver As SecurityTokenResolver) As SecurityTokenAuthenticator

Parameters

tokenRequirement
CoreWCF.IdentityModel.Selectors.SecurityTokenRequirement

The SecurityTokenRequirement.

outOfBandTokenResolver
CoreWCF.IdentityModel.Selectors.SecurityTokenResolver

When this method returns, contains a CoreWCF.IdentityModel.Selectors.SecurityTokenResolver. This parameter is passed uninitialized.

Returns

CoreWCF.IdentityModel.Selectors.SecurityTokenAuthenticator

The CoreWCF.IdentityModel.Selectors.SecurityTokenAuthenticator object.

Exceptions

tokenRequirement is null.

Applies to