Freigeben über


SecurityTokenServiceConfiguration Constructor (String, SigningCredentials, Boolean)

Initializes an instance of T:Microsoft.IdentityModel.Configuration.SecurityTokenServiceConfiguration.

Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim issuerName As String
Dim signingCredentials As SigningCredentials
Dim loadConfig As Boolean

Dim instance As New SecurityTokenServiceConfiguration(issuerName, signingCredentials, loadConfig)

Syntax

'Declaration
Public Sub New ( _
    issuerName As String, _
    signingCredentials As SigningCredentials, _
    loadConfig As Boolean _
)
public SecurityTokenServiceConfiguration (
    string issuerName,
    SigningCredentials signingCredentials,
    bool loadConfig
)
public:
SecurityTokenServiceConfiguration (
    String^ issuerName, 
    SigningCredentials^ signingCredentials, 
    bool loadConfig
)
public SecurityTokenServiceConfiguration (
    String issuerName, 
    SigningCredentials signingCredentials, 
    boolean loadConfig
)
public function SecurityTokenServiceConfiguration (
    issuerName : String, 
    signingCredentials : SigningCredentials, 
    loadConfig : boolean
)

Parameter

  • issuerName
    The issuer name.
  • signingCredentials
    The signing credential for the STS.
  • loadConfig
    Whether or not the configuration file should be loaded.

Ausnahmen

Ausnahmetyp Bedingung

Hinweise

The IssuerName must be set before the P:Microsoft.IdentityModel.Configuration.SecurityTokenServiceConfiguration.SecurityTokenService is used to create a token.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Siehe auch

Referenz

SecurityTokenServiceConfiguration Class
SecurityTokenServiceConfiguration Members
Microsoft.IdentityModel.Configuration Namespace