Rediger

Del via


SecurityTokenHandler.Configuration Property

Definition

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

public:
 property System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ Configuration { System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ get(); void set(System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ value); };
public System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration Configuration { get; set; }
member this.Configuration : System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration with get, set
Public Property Configuration As SecurityTokenHandlerConfiguration

Property Value

The configuration object for the current instance.

Remarks

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.

Applies to