SessionSecurityToken.SecurityKeys 属性
定义
获取与此会话关联的键 。Gets the keys associated with this session. 这通常是一个唯一密钥。This is usually a single key.
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)
属性值
与会话关联的密钥。The keys associated with the session. 这通常是一个唯一密钥。There is usually a single key.
注解
备注
默认实现不使用此属性。The default implementation does not use this property. 签名和加密密钥由处理令牌的所应用的 cookie 转换决定 SessionSecurityTokenHandler 。Signing and encryption keys are dictated by the cookie transforms applied by the SessionSecurityTokenHandler that processes the token.