Package org.eclipse.jgit.lfs.internal
Class LfsConnectionFactory.AuthCache
java.lang.Object
org.eclipse.jgit.lfs.internal.LfsConnectionFactory.AuthCache
- Enclosing class:
LfsConnectionFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
(package private) Protocol.ExpiringAction
private static final DateTimeFormatter
(package private) long
-
Constructor Summary
ConstructorsConstructorDescriptionAuthCache
(Protocol.ExpiringAction action) Creates a cache entry for an authentication response. -
Method Summary
-
Field Details
-
AUTH_CACHE_EAGER_TIMEOUT
private static final long AUTH_CACHE_EAGER_TIMEOUT- See Also:
-
ISO_FORMAT
-
validUntil
long validUntil -
cachedAction
Protocol.ExpiringAction cachedAction
-
-
Constructor Details
-
AuthCache
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
-
-