SecurityTokenDescriptor 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這是預留位置,適用於和已發行權杖相關的所有屬性。
public ref class SecurityTokenDescriptor
public class SecurityTokenDescriptor
type SecurityTokenDescriptor = class
Public Class SecurityTokenDescriptor
- 繼承
-
SecurityTokenDescriptor
建構函式
| SecurityTokenDescriptor() |
初始化 SecurityTokenDescriptor 類別的新執行個體。 |
屬性
| AppliesToAddress |
取得或設定 RequestSecurityTokenResponse 中之 AppliesTo 屬性的位址。 |
| AttachedReference |
取得或設定權杖附加到訊息時的金鑰識別碼子句。 |
| AuthenticationInfo |
取得或設定權杖的驗證資訊。 |
| EncryptingCredentials |
取得或設定用來加密權杖的認證。 |
| Lifetime |
取得或設定核發權杖的存留期資訊。 |
| Proof |
取得或設定所發出權杖的證明描述元,可用來修改 RSTR 內的某些欄位,例如要求的證明權杖。 |
| Properties |
取得所發出權杖的屬性封包。 |
| ReplyToAddress |
取得或設定 RequestSecurityTokenResponse 中之 ReplyToAddress 屬性的位址。 |
| SigningCredentials |
取得或設定用來簽署權杖的認證。 |
| Subject |
取得或設定要包含在發出權杖中的輸出宣告。 |
| Token |
取得或設定核發的安全性權杖。 |
| TokenIssuerName |
取得或設定簽發者名稱,它也可以用於發出的權杖內部。 |
| TokenType |
取得或設定已發出權杖的權杖類型。 |
| UnattachedReference |
當簽發的權杖沒有附加到訊息時的金鑰識別項子句。 |
方法
| AddAuthenticationClaims(String) |
將指定之驗證方法的宣告加入至目前執行個體的主題中。 驗證瞬間設定為目前的時間。 |
| AddAuthenticationClaims(String, DateTime) |
將指定之驗證類型及驗證執行個體的宣告加入至目前執行個體的主題中。 |
| ApplyTo(RequestSecurityTokenResponse) |
根據目前執行個體的屬性設定指定 RSTR 的適當屬性。 |
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
| GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
| ToString() |
傳回代表目前物件的字串。 (繼承來源 Object) |