Package no.unit.nva.auth
Class CachedJwtProvider
java.lang.Object
no.unit.nva.auth.CachedValueProvider<com.auth0.jwt.interfaces.DecodedJWT>
no.unit.nva.auth.CachedJwtProvider
-
Field Summary
Fields inherited from class no.unit.nva.auth.CachedValueProvider
cachedValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.auth0.jwt.interfaces.DecodedJWTprotected booleanMethods inherited from class no.unit.nva.auth.CachedValueProvider
getValue
-
Constructor Details
-
CachedJwtProvider
-
-
Method Details
-
isExpired
protected boolean isExpired()- Specified by:
isExpiredin classCachedValueProvider<com.auth0.jwt.interfaces.DecodedJWT>
-
getNewValue
protected com.auth0.jwt.interfaces.DecodedJWT getNewValue()- Specified by:
getNewValuein classCachedValueProvider<com.auth0.jwt.interfaces.DecodedJWT>
-