Get desktop application:
View/edit binary Protocol Buffers messages
Auth Provider API The Auth Provider API is meant to authenticate a client. The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119. The following are global requirements that apply to all methods: Any method MUST return CODE_OK on a succesful operation. Any method MAY return NOT_IMPLEMENTED. Any method MAY return INTERNAL. Any method MAY return UNKNOWN. Any method MAY return UNAUTHENTICATED.
Authenticate authenticates a client.
OPTIONAL. Opaque information.
OPTIONAL. The id of the client. For basic authentication with username and password both client_id and client_secret are expected to be filled. However, for example, for OIDC only a token is necessary.
OPTIONAL. The secret of the client.
REQUIRED. The response status.
REQUIRED. The authenticated user.
REQUIRED. The scope of the token to be issued. This would be a list of resources with corresponding role-based access scope.
The role associated with the scope.
Used in:
Used for invalid roles
Grants owner permissions on a resource
Provides backwards compatibility
Grants non-editor role on a resource
Grants editor permission on a resource, including folders
Grants editor permission on a single file
Grants co-owner permissions on a resource
Role with only write permission can use InitiateFileUpload, nothing else
Scope defines role-based permissions for various resources.
Used in: , ,
REQUIRED. The resource embedded in the request of a particular method. It depends on the method, hence is left as opaque.
REQUIRED. The role associated with the resource.