Uses of Record Class
land.oras.auth.HttpClient.TokenResponse
Packages that use HttpClient.TokenResponse
-
Uses of HttpClient.TokenResponse in land.oras.auth
Methods in land.oras.auth that return HttpClient.TokenResponseModifier and TypeMethodDescriptionHttpClient.TokenResponse.forService(String service) Create a new token response with the service field setstatic @Nullable HttpClient.TokenResponseGet a token response from the cache based on the provided scopes.@Nullable HttpClient.TokenResponseBearerTokenProvider.getToken()Get the tokenHttpClient.refreshToken(HttpClient.ResponseWrapper<T> response, Scopes scopes, AuthProvider authProvider) Retrieve a token from the registryMethods in land.oras.auth with parameters of type HttpClient.TokenResponseModifier and TypeMethodDescriptionstatic voidTokenCache.put(Scopes scopes, HttpClient.TokenResponse token) Put a token response in the cache with the associated scopes.voidBearerTokenProvider.setToken(HttpClient.TokenResponse token) Set the token