Interface OAuthScopes

All Known Implementing Classes:
GoogleCloudStorageOAuthScopes, OAuthScopes.NoScopes, OAuthScopes.ReadOrWriteScopes, OAuthScopes.SingleScope

public interface OAuthScopes
Implementations are api-specific, typically routing GET or HEAD requests to a read-only role, and others to a read-write one.
  • Method Details

    • forRequest

      List<String> forRequest(HttpRequest input)
      Returns a list of scopes needed to perform the request.