Uses of Class
land.oras.auth.Scopes
Packages that use Scopes
-
Uses of Scopes in land.oras.auth
Methods in land.oras.auth that return ScopesModifier and TypeMethodDescriptionstatic Scopes
Scopes.empty
(Registry registry, ContainerRef containerRef) Create a new Scopes object with no scopesstatic Scopes
Scopes.of
(Registry registry, ContainerRef containerRef, Scope... scopes) Create a new Scopes objectScopes.withNewRegistryScopes
(Scope... newScopes) Return a new copy of the Scopes object with the given scopesScopes.withNewScope
(String scope) Return a new copy of the Scopes object with the given scopeScopes.withRegistryScopes
(Scope... scopes) Return a new copy of the Scopes object with the given scopesMethods in land.oras.auth with parameters of type ScopesModifier and TypeMethodDescriptionPerform a DELETE requestHttpClient.download
(URI uri, Map<String, String> headers, Path file, Scopes scopes, AuthProvider authProvider) Download to a fileDownload to to input streamPerform a GET requestPerform a HEAD requestHttpClient.patch
(URI uri, byte[] body, Map<String, String> headers, Scopes scopes, AuthProvider authProvider) Perform a Patch requestHttpClient.post
(URI uri, byte[] body, Map<String, String> headers, Scopes scopes, AuthProvider authProvider) Perform a POST request.HttpClient.put
(URI uri, byte[] body, Map<String, String> headers, Scopes scopes, AuthProvider authProvider) Perform a PUT requestHttpClient.refreshToken
(HttpClient.ResponseWrapper<T> response, Scopes scopes, AuthProvider authProvider) Retrieve a token from the registryHttpClient.upload
(String method, URI uri, Map<String, String> headers, Path file, Scopes scopes, AuthProvider authProvider) Upload a file