Uses of Class
com.networknt.http.client.oauth.Jwt.Key
-
Packages that use Jwt.Key Package Description com.networknt.http.client.oauth com.networknt.http.client.oauth.cache -
-
Uses of Jwt.Key in com.networknt.http.client.oauth
Fields in com.networknt.http.client.oauth declared as Jwt.Key Modifier and Type Field Description protected Jwt.KeyJwt. keyMethods in com.networknt.http.client.oauth that return Jwt.Key Modifier and Type Method Description Jwt.KeyJwt. getKey()Methods in com.networknt.http.client.oauth with parameters of type Jwt.Key Modifier and Type Method Description Result<Jwt>TokenManager. getJwt(Jwt.Key key)get a Jwt with a provided Key (Key is either scope or a service id inputted by user, for caching usage): 1.if a token is cached with provided key - if the token is expired, renew it right away.Constructors in com.networknt.http.client.oauth with parameters of type Jwt.Key Constructor Description Jwt(Jwt.Key key) -
Uses of Jwt.Key in com.networknt.http.client.oauth.cache
Methods in com.networknt.http.client.oauth.cache with parameters of type Jwt.Key Modifier and Type Method Description voidICacheStrategy. cacheJwt(Jwt.Key key, Jwt jwt)caches a jwt to the cache pool with provided cache key and jwt.voidLongestExpireCacheStrategy. cacheJwt(Jwt.Key cachedKey, Jwt jwt)This method is to cache a jwt LongestExpireCacheStrategy based on a given Jwt.Key and a Jwt.JwtICacheStrategy. getCachedJwt(Jwt.Key key)get Jwt from cache pool with provided Jwt.Key cache keyJwtLongestExpireCacheStrategy. getCachedJwt(Jwt.Key key)get Jwt from cache pool based on provided Jwt.Key key
-