Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SecurityTokenHandlerCollection.CreateDefaultSecurityTokenHandlerCollection Method (SecurityTokenHandlerConfiguration)

.NET Framework 4.6 and 4.5

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.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public static SecurityTokenHandlerCollection CreateDefaultSecurityTokenHandlerCollection(
	SecurityTokenHandlerConfiguration configuration


Type: System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration

The configuration to associate with the handler collection.

Return Value

Type: System.IdentityModel.Tokens.SecurityTokenHandlerCollection
A security token handler collection that contains the default, basic security token handlers.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft