SecurityContextSecurityTokenResolver Classe
Definição
Resolve os tokens de contexto de segurança.Resolves security context tokens.
public ref class SecurityContextSecurityTokenResolver : System::IdentityModel::Selectors::SecurityTokenResolver, System::ServiceModel::Security::Tokens::ISecurityContextSecurityTokenCache
public class SecurityContextSecurityTokenResolver : System.IdentityModel.Selectors.SecurityTokenResolver, System.ServiceModel.Security.Tokens.ISecurityContextSecurityTokenCache
type SecurityContextSecurityTokenResolver = class
inherit SecurityTokenResolver
interface ISecurityContextSecurityTokenCache
Public Class SecurityContextSecurityTokenResolver
Inherits SecurityTokenResolver
Implements ISecurityContextSecurityTokenCache
- Herança
- Implementações
Construtores
| SecurityContextSecurityTokenResolver(Int32, Boolean) |
Inicializa uma nova instância da classe SecurityContextSecurityTokenResolver.Initializes a new instance of the SecurityContextSecurityTokenResolver class. |
| SecurityContextSecurityTokenResolver(Int32, Boolean, TimeSpan) |
Inicializa uma nova instância da classe SecurityContextSecurityTokenResolver com a capacidade de cache de contexto de segurança especificada e o máximo de distorção do relógio.Initializes a new instance of the SecurityContextSecurityTokenResolver class with the specified security context cache capacity and clock skew maximum. |
Propriedades
| ClockSkew |
Retorna a diferença máxima de tempo permitida entre configurações do relógio de cliente e servidor.Returns the maximum allowable time difference between client and server clock settings. |
| RemoveOldestTokensOnCacheFull |
Obtém um valor que indica se os tokens mais antigos devem ser removidos quando o cache está cheio.Gets a value that indicates whether the oldest tokens should be removed when the cache is full. |
| SecurityContextTokenCacheCapacity |
Obtém o tamanho de cache do token de contexto de segurança.Gets the security context token cache size. |
Métodos
| AddContext(SecurityContextSecurityToken) |
Adiciona um token de segurança do contexto de segurança ao cache de token.Adds a security context security token to the token cache. |
| ClearContexts() |
Limpa o cache de conteúdo do token.Clears the token cache of content. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetAllContexts(UniqueId) |
Obtém uma coleção de IDs de token de segurança do contexto de segurança que corresponde a uma ID de contexto especificada.Gets a collection of security context security token IDs that match a specified context ID. |
| GetContext(UniqueId, UniqueId) |
Obtém a ID do token de segurança do contexto de segurança que corresponde a uma geração e ID de contexto especificadas.Gets the security context security token ID that matches a specified context ID and generation. |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| LoadCustomConfiguration(XmlNodeList) |
Quando substituído em uma classe derivada, carrega a configuração personalizada do XML.When overridden in a derived class, loads custom configuration from XML. (Herdado de SecurityTokenResolver) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| RemoveAllContexts(UniqueId) |
Remove do cache todos os tokens que correspondem a uma ID de contexto especificada.Removes all tokens from the cache that match a given context ID. |
| RemoveContext(UniqueId, UniqueId) |
Remove do cache o token que corresponde a uma geração e ID de contexto especificadas.Removes the token from the cache that matches a given context ID and generation. |
| ResolveSecurityKey(SecurityKeyIdentifierClause) |
Obtém a chave referenciada na cláusula do identificador de chave especificada.Obtains the key that is referenced in the specified key identifier clause. (Herdado de SecurityTokenResolver) |
| ResolveToken(SecurityKeyIdentifier) |
Recupera um token de segurança que corresponde a uma das cláusulas do identificador de chave de segurança contidas no identificador de chave especificado.Retrieves a security token that matches one of the security key identifier clauses contained within the specified key identifier. (Herdado de SecurityTokenResolver) |
| ResolveToken(SecurityKeyIdentifierClause) |
Recupera o token de segurança que corresponda à cláusula de identificador de chave especificada.Retrieves the security token that matches the specified key identifier clause. (Herdado de SecurityTokenResolver) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
| TryAddContext(SecurityContextSecurityToken) |
Tenta adicionar um token ao cache.Attempts to add a token to the cache. |
| TryResolveSecurityKey(SecurityKeyIdentifierClause, SecurityKey) |
Tenta recuperar a chave referenciada na cláusula do identificador de chave especificada.Attempts to retrieve the key that is referenced in the specified key identifier clause. (Herdado de SecurityTokenResolver) |
| TryResolveSecurityKeyCore(SecurityKeyIdentifierClause, SecurityKey) |
Tenta resolver o núcleo da chave de segurança, considerando uma cláusula de identificador de chave especificada.Attempts to resolve the security key core, given a specified key identifier clause. |
| TryResolveToken(SecurityKeyIdentifier, SecurityToken) |
Tenta recuperar o token de segurança que corresponde a uma das cláusulas de identificador de chave contidas no identificador de chave especificado.Attempts to retrieve the security token that matches one of the key identifier clauses contained within the specified key identifier. (Herdado de SecurityTokenResolver) |
| TryResolveToken(SecurityKeyIdentifierClause, SecurityToken) |
Tenta recuperar o token de segurança que corresponda à cláusula de identificador de chave especificada.Attempts to retrieve the security token that matches the specified key identifier clause. (Herdado de SecurityTokenResolver) |
| TryResolveTokenCore(SecurityKeyIdentifier, SecurityToken) |
Tenta resolver o token dado um identificador de chave especificado.Attempts to resolve the token, given a specified key identifier. |
| TryResolveTokenCore(SecurityKeyIdentifierClause, SecurityToken) |
Tenta resolver o token dada uma cláusula de identificador de chave especificada.Attempts to resolve the token, given a specified key identifier clause. |
| UpdateContextCachingTime(SecurityContextSecurityToken, DateTime) |
Atualiza a data de expiração de um token no cache.Updates the expiration date for a token in the cache. |