語言

Saml2SecurityToken 類別

定義

表示以 SAML 判斷提示為基礎的安全性令牌。

public ref class Saml2SecurityToken : System::IdentityModel::Tokens::SecurityToken
public class Saml2SecurityToken : System.IdentityModel.Tokens.SecurityToken
type Saml2SecurityToken = class
    inherit SecurityToken
Public Class Saml2SecurityToken
Inherits SecurityToken
繼承
Saml2SecurityToken

備註

Saml2SecurityToken 安全性令牌的宣告會以 Saml2Assertion的一部分表示。 Saml2Assertion 具有一組可延伸的宣告,稱為 SAML 語句,由 Statements 屬性表示。 發出 SAML 判斷提示的 SAML 授權單位是在 Issuer 屬性中指定。

建構函式

名稱 Description
Saml2SecurityToken(Saml2Assertion, ReadOnlyCollection<SecurityKey>, SecurityToken)

使用指定的 SAML 判斷提示、密碼編譯金鑰和簽發者令牌,初始化 Saml2SecurityToken 類別的新實例。

Saml2SecurityToken(Saml2Assertion)

使用指定的 SAML 判斷提示,初始化 Saml2SecurityToken 類別的新實例。

屬性

名稱 Description
Assertion

取得這個安全權杖的 SAML 斷言。

Id

取得安全憑證的唯一識別碼。

IssuerToken

取得簽發者的安全性令牌。

SecurityKeys

取得與安全令牌相關的密碼金鑰。

ValidFrom

取得該安全令牌有效的第一個時刻。

ValidTo

取得該安全令牌有效的最後一刻。

方法

名稱 Description
CanCreateKeyIdentifierClause<T>()

取得值,指出這個安全性令牌是否能夠建立指定的密鑰標識碼。

CreateKeyIdentifierClause<T>()

建立指定的金鑰識別子句。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MatchesKeyIdentifierClause(SecurityKeyIdentifierClause)

傳回值,指出這個實例的密鑰標識碼是否等於指定的密鑰標識碼。

MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ResolveKeyIdentifierClause(SecurityKeyIdentifierClause)

取得指定的金鑰識別子句的金鑰。

(繼承來源 SecurityToken)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於

另請參閱