SecurityCredentialsManager.CreateSecurityTokenManager Method

Definition

When overridden in a derived class, creates a new SecurityTokenManager.

public:
 abstract System::IdentityModel::Selectors::SecurityTokenManager ^ CreateSecurityTokenManager();
public abstract System.IdentityModel.Selectors.SecurityTokenManager CreateSecurityTokenManager ();
abstract member CreateSecurityTokenManager : unit -> System.IdentityModel.Selectors.SecurityTokenManager
Public MustOverride Function CreateSecurityTokenManager () As SecurityTokenManager

Returns

The newly created SecurityTokenManager.

Remarks

A SecurityTokenManager is created by WCF for every ChannelFactory at the client and for every ChannelListener/endpoint at the service.

Use one of the classes derived from the SecurityTokenManager class when a custom security token, security token authenticator, or security token provider is needed.

Applies to