Editar

Compartilhar via


ClientCredentials.CreateSecurityTokenManager Method

Definition

Creates a security token manager for this instance. This method is rarely called explicitly; it is primarily used in extensibility scenarios and is called by the system itself.

public:
 override System::IdentityModel::Selectors::SecurityTokenManager ^ CreateSecurityTokenManager();
public override System.IdentityModel.Selectors.SecurityTokenManager CreateSecurityTokenManager ();
override this.CreateSecurityTokenManager : unit -> System.IdentityModel.Selectors.SecurityTokenManager
Public Overrides Function CreateSecurityTokenManager () As SecurityTokenManager

Returns

A ClientCredentialsSecurityTokenManager for this ClientCredentials instance.

Remarks

This method is usually overridden by custom client credentials implementations that inherit from this class. This method is responsible for returning a new instance of a SecurityTokenManager implementation.

Applies to