Share via


SessionSecurityToken.SecurityKeys 屬性

定義

取得與這個工作階段相關聯的索引鍵。 這通常是單一金鑰。

public:
 virtual property System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ SecurityKeys { System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SecurityKey ^> ^ get(); };
public override System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey> SecurityKeys { get; }
member this.SecurityKeys : System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SecurityKey>
Public Overrides ReadOnly Property SecurityKeys As ReadOnlyCollection(Of SecurityKey)

屬性值

與工作階段相關聯的金鑰。 通常會有單一金鑰。

備註

注意

默認實作不會使用這個屬性。 簽署和加密金鑰是由處理令牌之 所 SessionSecurityTokenHandler 套用的 Cookie 轉換所決定。

適用於