SessionSecurityToken.KeyGeneration Propriedade
Definição
Obtém o identificador para a geração de chave neste token.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
Valor da propriedade
O identificador exclusivo para a geração de chave neste token.The unique identifier for the key generation in this token.
Comentários
A KeyGeneration propriedade é exclusiva dentro de um token de sessão.The KeyGeneration property is unique within a session token. Quando um token de sessão é emitido, ele tem apenas uma ID de contexto, que pode ser acessada por meio da ContextId propriedade.When a session token is issued it has only a context ID, which is accessible through the ContextId property. Quando o token de sessão é renovado, a geração de chave é adicionada.When the session token is renewed, the key generation is added.
A SessionSecurityTokenCacheKey classe usa a ID de contexto e a geração de chave para gerar uma chave para o token no SessionSecurityTokenCache .The SessionSecurityTokenCacheKey class uses both the context ID and the key generation to generate a key for the token in the SessionSecurityTokenCache.
A SessionSecurityTokenHandler classe serializa essa propriedade como o <Instance> elemento filho do <wsc:SecurityContextToken> elemento.The SessionSecurityTokenHandler class serializes this property as the <Instance> child element of the <wsc:SecurityContextToken> element. Para obter mais informações, consulte a documentação do SessionSecurityTokenHandler.WriteToken método.For more information, see the documentation for the SessionSecurityTokenHandler.WriteToken method.