Rediger

Del via


SecurityTokenServiceConfiguration Constructors

Definition

Initializes a new instance of the SecurityTokenServiceConfiguration class.

Overloads

SecurityTokenServiceConfiguration()

Initializes a new instance of the SecurityTokenServiceConfiguration class.

SecurityTokenServiceConfiguration(Boolean)

Initializes a new instance of the SecurityTokenServiceConfiguration class. Optionally loads settings from the current configuration.

SecurityTokenServiceConfiguration(String)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name.

SecurityTokenServiceConfiguration(String, Boolean)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name. Optionally loads settings from the current configuration.

SecurityTokenServiceConfiguration(String, SigningCredentials)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name and signing credentials.

SecurityTokenServiceConfiguration(String, SigningCredentials, Boolean)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name and signing credentials. Optionally loads settings from the current configuration.

SecurityTokenServiceConfiguration(String, SigningCredentials, String)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name and signing credentials. Settings are loaded from the specified named configuration.

SecurityTokenServiceConfiguration()

Initializes a new instance of the SecurityTokenServiceConfiguration class.

public:
 SecurityTokenServiceConfiguration();
public SecurityTokenServiceConfiguration ();
Public Sub New ()

Remarks

The TokenIssuerName property must be set before the security token service is used to create a token.

Applies to

SecurityTokenServiceConfiguration(Boolean)

Initializes a new instance of the SecurityTokenServiceConfiguration class. Optionally loads settings from the current configuration.

public:
 SecurityTokenServiceConfiguration(bool loadConfig);
public SecurityTokenServiceConfiguration (bool loadConfig);
new System.IdentityModel.Configuration.SecurityTokenServiceConfiguration : bool -> System.IdentityModel.Configuration.SecurityTokenServiceConfiguration
Public Sub New (loadConfig As Boolean)

Parameters

loadConfig
Boolean

true to load settings from the configuration file; otherwise, false.

Remarks

The TokenIssuerName property must be set before the security token service is used to create a token.

Applies to

SecurityTokenServiceConfiguration(String)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name.

public:
 SecurityTokenServiceConfiguration(System::String ^ issuerName);
public SecurityTokenServiceConfiguration (string issuerName);
new System.IdentityModel.Configuration.SecurityTokenServiceConfiguration : string -> System.IdentityModel.Configuration.SecurityTokenServiceConfiguration
Public Sub New (issuerName As String)

Parameters

issuerName
String

The issuer name. Sets the TokenIssuerName property.

Remarks

If issuerName is null, the TokenIssuerName property must be set before the security token service is used to create a token.

Applies to

SecurityTokenServiceConfiguration(String, Boolean)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name. Optionally loads settings from the current configuration.

public:
 SecurityTokenServiceConfiguration(System::String ^ issuerName, bool loadConfig);
public SecurityTokenServiceConfiguration (string issuerName, bool loadConfig);
new System.IdentityModel.Configuration.SecurityTokenServiceConfiguration : string * bool -> System.IdentityModel.Configuration.SecurityTokenServiceConfiguration
Public Sub New (issuerName As String, loadConfig As Boolean)

Parameters

issuerName
String

The issuer name. Sets the TokenIssuerName property.

loadConfig
Boolean

true to load settings from the configuration file; otherwise, false.

Remarks

If issuerName is null, the TokenIssuerName property must be set before the security token service is used to create a token.

Applies to

SecurityTokenServiceConfiguration(String, SigningCredentials)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name and signing credentials.

public:
 SecurityTokenServiceConfiguration(System::String ^ issuerName, System::IdentityModel::Tokens::SigningCredentials ^ signingCredentials);
public SecurityTokenServiceConfiguration (string issuerName, System.IdentityModel.Tokens.SigningCredentials signingCredentials);
new System.IdentityModel.Configuration.SecurityTokenServiceConfiguration : string * System.IdentityModel.Tokens.SigningCredentials -> System.IdentityModel.Configuration.SecurityTokenServiceConfiguration
Public Sub New (issuerName As String, signingCredentials As SigningCredentials)

Parameters

issuerName
String

The issuer name. Sets the TokenIssuerName property.

signingCredentials
SigningCredentials

The signing credentials for the STS. Sets the SigningCredentials property.

Remarks

If issuerName is null, the TokenIssuerName property must be set before the security token service is used to create a token.

Applies to

SecurityTokenServiceConfiguration(String, SigningCredentials, Boolean)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name and signing credentials. Optionally loads settings from the current configuration.

public:
 SecurityTokenServiceConfiguration(System::String ^ issuerName, System::IdentityModel::Tokens::SigningCredentials ^ signingCredentials, bool loadConfig);
public SecurityTokenServiceConfiguration (string issuerName, System.IdentityModel.Tokens.SigningCredentials signingCredentials, bool loadConfig);
new System.IdentityModel.Configuration.SecurityTokenServiceConfiguration : string * System.IdentityModel.Tokens.SigningCredentials * bool -> System.IdentityModel.Configuration.SecurityTokenServiceConfiguration
Public Sub New (issuerName As String, signingCredentials As SigningCredentials, loadConfig As Boolean)

Parameters

issuerName
String

The issuer name. Sets the TokenIssuerName property.

signingCredentials
SigningCredentials

The signing credentials for the STS. Sets the SigningCredentials property.

loadConfig
Boolean

true to load settings from the configuration file; otherwise, false.

Remarks

If issuerName is null, the TokenIssuerName property must be set before the security token service is used to create a token.

Applies to

SecurityTokenServiceConfiguration(String, SigningCredentials, String)

Initializes a new instance of the SecurityTokenServiceConfiguration class that has the specified issuer name and signing credentials. Settings are loaded from the specified named configuration.

public:
 SecurityTokenServiceConfiguration(System::String ^ issuerName, System::IdentityModel::Tokens::SigningCredentials ^ signingCredentials, System::String ^ serviceName);
public SecurityTokenServiceConfiguration (string issuerName, System.IdentityModel.Tokens.SigningCredentials signingCredentials, string serviceName);
new System.IdentityModel.Configuration.SecurityTokenServiceConfiguration : string * System.IdentityModel.Tokens.SigningCredentials * string -> System.IdentityModel.Configuration.SecurityTokenServiceConfiguration
Public Sub New (issuerName As String, signingCredentials As SigningCredentials, serviceName As String)

Parameters

issuerName
String

The issuer name. Sets the TokenIssuerName property.

signingCredentials
SigningCredentials

The signing credentials for the STS. Sets the SigningCredentials property.

serviceName
String

The name of the <identityConfiguration> element from which the configuration is to be loaded.

Remarks

If issuerName is null, the TokenIssuerName property must be set before the security token service is used to create a token.

Applies to