Package org.eclipse.jgit.lfs.internal
Class LfsConnectionFactory.AuthCache
- java.lang.Object
-
- org.eclipse.jgit.lfs.internal.LfsConnectionFactory.AuthCache
-
- Enclosing class:
- LfsConnectionFactory
private static final class LfsConnectionFactory.AuthCache extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description AuthCache(Protocol.ExpiringAction action)
Creates a cache entry for an authentication response.
-
-
-
Field Detail
-
AUTH_CACHE_EAGER_TIMEOUT
private static final long AUTH_CACHE_EAGER_TIMEOUT
- See Also:
- Constant Field Values
-
ISO_FORMAT
private static final java.text.SimpleDateFormat ISO_FORMAT
-
validUntil
long validUntil
-
cachedAction
Protocol.ExpiringAction cachedAction
-
-
Constructor Detail
-
AuthCache
public AuthCache(Protocol.ExpiringAction action)
Creates a cache entry for an authentication response.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.
- Parameters:
action
-
-
-