共用方式為


SecurityTokenService(SecurityTokenServiceConfiguration) 建構函式

定義

使用指定的組態設定,從衍生類別呼叫以初始化 SecurityTokenService 類別。

protected:
 SecurityTokenService(System::IdentityModel::Configuration::SecurityTokenServiceConfiguration ^ securityTokenServiceConfiguration);
protected SecurityTokenService (System.IdentityModel.Configuration.SecurityTokenServiceConfiguration securityTokenServiceConfiguration);
new System.IdentityModel.SecurityTokenService : System.IdentityModel.Configuration.SecurityTokenServiceConfiguration -> System.IdentityModel.SecurityTokenService
Protected Sub New (securityTokenServiceConfiguration As SecurityTokenServiceConfiguration)

參數

securityTokenServiceConfiguration
SecurityTokenServiceConfiguration

SecurityTokenServiceConfiguration,包含 STS 的設定。

例外狀況

securityTokenServiceConfigurationnull

備註

使用此建構函式來初始化範圍提供者和令牌簽發者憑證。

適用於