CreateStorageBackendAuthorizationInput
Input for starting a Drive/Dropbox OAuth consent flow. It creates the draft backend immediately — before the user reaches the consent screen — so the callback has a row to complete.
Fields
Which OAuth provider to authorize against. Determines the consent URL and the kind of the backend that gets created; the deployment must have that provider's app credentials configured.
Possible values (2)
GOOGLE_DRIVEGoogle Drive. Consent is requested against the narrow drive.file scope, so the backend only ever sees the files it creates itself, not the rest of the account's Drive.
DROPBOXDropbox. Consent is requested with offline token access, so the backend keeps a refresh token and writes into the account that granted it.
Name for the backend that the completed flow will produce. Required, and validated up front so a bad name fails before the consent redirect.
Optional free-text note carried onto the backend the flow creates.
Referenced by (1)
Exact type SDL
"""
Input for starting a Drive/Dropbox OAuth consent flow. It creates the draft backend immediately — before the user reaches the consent screen — so the callback has a row to complete.
"""
input CreateStorageBackendAuthorizationInput {
"""
Which OAuth provider to authorize against. Determines the consent URL and the kind of the backend that gets created; the deployment must have that provider's app credentials configured.
"""
provider: StorageBackendOAuthProvider!
"""
Name for the backend that the completed flow will produce. Required, and validated up front so a bad name fails before the consent redirect.
"""
name: String!
"""Optional free-text note carried onto the backend the flow creates."""
description: String
}