private static final class LfsConnectionFactory.AuthCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static long |
AUTH_CACHE_EAGER_TIMEOUT |
(package private) Protocol.ExpiringAction |
cachedAction |
private static java.text.SimpleDateFormat |
ISO_FORMAT |
(package private) long |
validUntil |
Constructor and Description |
---|
AuthCache(Protocol.ExpiringAction action)
Creates a cache entry for an authentication response.
|
private static final long AUTH_CACHE_EAGER_TIMEOUT
private static final java.text.SimpleDateFormat ISO_FORMAT
long validUntil
Protocol.ExpiringAction cachedAction
public AuthCache(Protocol.ExpiringAction action)
The timeout of the cache token is extracted from the given action. If no timeout can be determined, the token will be used only once.
action
-