Compartilhar via


AzureServiceCredentialsSecurityTokenManager.CreateSecurityTokenProvider Method

Definition

Creates a security token provider.

public override CoreWCF.IdentityModel.Selectors.SecurityTokenProvider CreateSecurityTokenProvider (CoreWCF.IdentityModel.Selectors.SecurityTokenRequirement tokenRequirement);
override this.CreateSecurityTokenProvider : CoreWCF.IdentityModel.Selectors.SecurityTokenRequirement -> CoreWCF.IdentityModel.Selectors.SecurityTokenProvider
Public Overrides Function CreateSecurityTokenProvider (tokenRequirement As SecurityTokenRequirement) As SecurityTokenProvider

Parameters

tokenRequirement
CoreWCF.IdentityModel.Selectors.SecurityTokenRequirement

The CoreWCF.IdentityModel.Selectors.SecurityTokenRequirement.

Returns

CoreWCF.IdentityModel.Selectors.SecurityTokenProvider

The CoreWCF.IdentityModel.Selectors.SecurityTokenProvider object.

Exceptions

tokenRequirement is null.

Applies to