SecurityTokenHandler::Configuration Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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:
property SecurityTokenHandlerConfiguration^ Configuration {
	SecurityTokenHandlerConfiguration^ get();
	void set(SecurityTokenHandlerConfiguration^ value);
}

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: