Uses of Class
com.networknt.http.client.oauth.Jwt
-
Packages that use Jwt Package Description com.networknt.http.client.oauth com.networknt.http.client.oauth.cache -
-
Uses of Jwt in com.networknt.http.client.oauth
Methods in com.networknt.http.client.oauth that return types with arguments of type Jwt Modifier and Type Method Description Result<Jwt>TokenManager. getJwt()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.Result<Jwt>TokenManager. getJwt(Set<String> scopeSet, String serviceId)get a Jwt with a provided clientRequest, it will get token based on Jwt.Key (either scope or service_id) if the user declared both scope and service_id in header, it will get jwt based on scopestatic Result<Jwt>OauthHelper. populateCCToken(Jwt jwt)populate/renew jwt info to the give jwt object.Methods in com.networknt.http.client.oauth with parameters of type Jwt Modifier and Type Method Description static Result<Jwt>OauthHelper. populateCCToken(Jwt jwt)populate/renew jwt info to the give jwt object. -
Uses of Jwt in com.networknt.http.client.oauth.cache
Methods in com.networknt.http.client.oauth.cache that return Jwt Modifier and Type Method Description 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 keyMethods in com.networknt.http.client.oauth.cache with parameters of type Jwt 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.
-