SessionSecurityToken.KeyGeneration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the identifier for the key generation in this token.
public:
property System::Xml::UniqueId ^ KeyGeneration { System::Xml::UniqueId ^ get(); };
public System.Xml.UniqueId KeyGeneration { get; }
member this.KeyGeneration : System.Xml.UniqueId
Public ReadOnly Property KeyGeneration As UniqueId
Property Value
The unique identifier for the key generation in this token.
Remarks
The KeyGeneration property is unique within a session token. When a session token is issued it has only a context ID, which is accessible through the ContextId property. When the session token is renewed, the key generation is added.
The SessionSecurityTokenCacheKey class uses both the context ID and the key generation to generate a key for the token in the SessionSecurityTokenCache.
The SessionSecurityTokenHandler class serializes this property as the <Instance>
child element of the <wsc:SecurityContextToken>
element. For more information, see the documentation for the SessionSecurityTokenHandler.WriteToken method.
Applies to
See also
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ