SecurityTokenHandler.Configuration Property

.NET Framework (current version)
 

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

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

public SecurityTokenHandlerConfiguration Configuration { 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
Available since 4.5
Return to top
Show: