SecurityTokenHandlerCollection.CreateDefaultSecurityTokenHandlerCollection 方法

定義

建立基本安全性權杖處理常式的系統預設集合,其中每一個處理常式都有系統預設組態。

多載

CreateDefaultSecurityTokenHandlerCollection()

建立基本安全性權杖處理常式的系統預設集合,其中每一個處理常式都有系統預設組態。 必須以服務特定資料來設定此集合中的權杖處理常式,才可以使用它們。

CreateDefaultSecurityTokenHandlerCollection(SecurityTokenHandlerConfiguration)

建立基本安全性權杖處理常式的系統預設集合,並將指定的組態與新集合產生關聯。 其中每一個處理常式都有系統預設組態。 必須以服務特定資料來設定此集合中的權杖處理常式,才可以使用它們。

CreateDefaultSecurityTokenHandlerCollection()

建立基本安全性權杖處理常式的系統預設集合,其中每一個處理常式都有系統預設組態。 必須以服務特定資料來設定此集合中的權杖處理常式,才可以使用它們。

public:
 static System::IdentityModel::Tokens::SecurityTokenHandlerCollection ^ CreateDefaultSecurityTokenHandlerCollection();
public static System.IdentityModel.Tokens.SecurityTokenHandlerCollection CreateDefaultSecurityTokenHandlerCollection ();
static member CreateDefaultSecurityTokenHandlerCollection : unit -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Shared Function CreateDefaultSecurityTokenHandlerCollection () As SecurityTokenHandlerCollection

傳回

包含預設、基本安全性權杖處理常式的安全性權杖處理常式集合。

適用於

CreateDefaultSecurityTokenHandlerCollection(SecurityTokenHandlerConfiguration)

建立基本安全性權杖處理常式的系統預設集合,並將指定的組態與新集合產生關聯。 其中每一個處理常式都有系統預設組態。 必須以服務特定資料來設定此集合中的權杖處理常式,才可以使用它們。

public:
 static System::IdentityModel::Tokens::SecurityTokenHandlerCollection ^ CreateDefaultSecurityTokenHandlerCollection(System::IdentityModel::Tokens::SecurityTokenHandlerConfiguration ^ configuration);
public static System.IdentityModel.Tokens.SecurityTokenHandlerCollection CreateDefaultSecurityTokenHandlerCollection (System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration configuration);
static member CreateDefaultSecurityTokenHandlerCollection : System.IdentityModel.Tokens.SecurityTokenHandlerConfiguration -> System.IdentityModel.Tokens.SecurityTokenHandlerCollection
Public Shared Function CreateDefaultSecurityTokenHandlerCollection (configuration As SecurityTokenHandlerConfiguration) As SecurityTokenHandlerCollection

參數

configuration
SecurityTokenHandlerConfiguration

與處理常式集合相關聯的組態。

傳回

包含預設、基本安全性權杖處理常式的安全性權杖處理常式集合。

適用於