Bewerken

Delen via


SecurityTokenHandlerCollection.CreateDefaultSecurityTokenHandlerCollection Method

Definition

Creates a system default collection of basic security token handlers, each of which has the system default configuration.

Overloads

CreateDefaultSecurityTokenHandlerCollection()

Creates a system default collection of basic security token handlers, each of which has the system default configuration. The token handlers in this collection must be configured with service specific data before they can be used.

CreateDefaultSecurityTokenHandlerCollection(SecurityTokenHandlerConfiguration)

Creates a system default collection of basic security token handlers and associates the specified configuration with the new collection. Each of the handlers has the system default configuration. The token handlers in this collection must be configured with service specific data before they can be used.

CreateDefaultSecurityTokenHandlerCollection()

Creates a system default collection of basic security token handlers, each of which has the system default configuration. The token handlers in this collection must be configured with service specific data before they can be used.

public:
 static System::IdentityModel::Tokens::SecurityTokenHandlerCollection ^ CreateDefaultSecurityTokenHandlerCollection();
public static System.IdentityModel.Tokens.SecurityTokenHandlerCollection CreateDefaultSecurityTokenHandlerCollection ();
static member CreateDefaultSecurityTokenHandlerCollection : unit -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Shared Function CreateDefaultSecurityTokenHandlerCollection () As SecurityTokenHandlerCollection

Returns

A security token handler collection that contains the default, basic security token handlers.

Applies to

CreateDefaultSecurityTokenHandlerCollection(SecurityTokenHandlerConfiguration)

Creates a system default collection of basic security token handlers and associates the specified configuration with the new collection. Each of the handlers has the system default configuration. The token handlers in this collection must be configured with service specific data before they can be used.

public:
 static System::IdentityModel::Tokens::SecurityTokenHandlerCollection ^ CreateDefaultSecurityTokenHandlerCollection(System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ configuration);
public static System.IdentityModel.Tokens.SecurityTokenHandlerCollection CreateDefaultSecurityTokenHandlerCollection (System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration configuration);
static member CreateDefaultSecurityTokenHandlerCollection : System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Shared Function CreateDefaultSecurityTokenHandlerCollection (configuration As SecurityTokenHandlerConfiguration) As SecurityTokenHandlerCollection

Parameters

configuration
SecurityTokenHandlerConfiguration

The configuration to associate with the handler collection.

Returns

A security token handler collection that contains the default, basic security token handlers.

Applies to