SecurityTokenHandler.Configuration Property

.NET Framework 4.5

Gets or sets the SecurityTokenHandlerConfiguration object that provides configuration for the current instance.

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

member Configuration : SecurityTokenHandlerConfiguration with get, set

Property Value

Type: System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration
The configuration object for the current instance.

The Configuration property is typically set by the configuration infrastructure from the <securityTokenHandlerConfiguration> element in the configuration file during application start up.

In derived classes, you use the Configuration property to access configuration settings; for example, the issuer name registry to use in the ValidateToken method can be accessed from the SecurityTokenHandlerConfiguration.IssuerNameRegistry property of the configuration object.

.NET Framework

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft