SessionSecurityTokenCacheKey(String, UniqueId, UniqueId) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 SessionSecurityTokenCacheKey 类的新实例。
public:
SessionSecurityTokenCacheKey(System::String ^ endpointId, System::Xml::UniqueId ^ contextId, System::Xml::UniqueId ^ keyGeneration);
public SessionSecurityTokenCacheKey(string endpointId, System.Xml.UniqueId contextId, System.Xml.UniqueId keyGeneration);
new System.IdentityModel.Tokens.SessionSecurityTokenCacheKey : string * System.Xml.UniqueId * System.Xml.UniqueId -> System.IdentityModel.Tokens.SessionSecurityTokenCacheKey
Public Sub New (endpointId As String, contextId As UniqueId, keyGeneration As UniqueId)
参数
- endpointId
- String
缓存条目的作用域为终结点 ID。 这应该是缓存令牌的属性的值 EndpointId 。
- keyGeneration
- UniqueId
缓存项的密钥生成。 这应该是缓存令牌的属性的值 KeyGeneration 。 续订令牌时,此值可用。 缓存新令牌时会 null 用到它。