SecurityTokenHandlerCollection.CreateDefaultSecurityTokenHandlerCollection Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a system default collection of basic security token handlers, each of which has the system default configuration.
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. |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
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
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: