LocalServiceSecuritySettings.IssuedCookieLifetime Propriedade
Definição
Obtém ou define o tempo de vida para o SecurityContextSecurityToken que o serviço emite para o cliente.Gets or sets the lifetime for the SecurityContextSecurityToken that the service issues for the client.
public:
property TimeSpan IssuedCookieLifetime { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan IssuedCookieLifetime { get; set; }
member this.IssuedCookieLifetime : TimeSpan with get, set
Public Property IssuedCookieLifetime As TimeSpan
Valor da propriedade
Um TimeSpan que representa o tempo de vida para novos cookies de segurança.A TimeSpan that represents the lifetime for new security cookies. O padrão é 10 horas.The default is 10 hours.
Exceções
A propriedade está definida com um valor menor que 0.The property is set to a value less than 0.
Exemplos
Este exemplo mostra como obter o IssuedCookieLifetime valor.This example shows how to get the IssuedCookieLifetime value.
TimeSpan issuedCookieLifetime = settings.IssuedCookieLifetime;
Dim issuedCookieLifetime As TimeSpan = settings.IssuedCookieLifetime
Comentários
Quando o serviço emite tokens de cookie de conversa segura para o cliente, seu período de validade é determinado pelo valor dessa propriedade.When the service issues secure conversation cookie tokens to the client, their validity period is determined by the value of this property.