Skip to main content

ProviderDto

One storage service this portal can connect, with the values a connection form needs.

NameTypeDescriptionNotes
nameStringThe display name of the service, and the only thing that tells the WebDAV presets apart: kDrive, Yandex, WebDav, Nextcloud and ownCloud all report the same key.[optional] [example: Nextcloud] [nullable]
keyStringThe value to send as providerKey when an account of this service is connected.[optional] [example: WebDav] [nullable]
connectedBooleanWhether the service can be used on this portal: it is enabled in the configuration and, for an OAuth service, its application is registered. It says nothing about whether an account of it is connected.[optional] [example: true]
oauthBooleanWhether an account of this service is connected with an OAuth 2.0 authorization code in token; when false, it is connected with login and password.[optional] [example: true]
redirectUrlStringThe redirect URL this portal is registered with at the service, to build the consent screen URL from. It comes back as null for the services that do not use OAuth.[optional] [example: https://example.com/thirdparty] [nullable]
requiredConnectionUrlBooleanWhether an account of this service cannot be connected without url, which is the case for the WebDAV servers whose address is not known in advance. The presets with a fixed address and the OAuth services do not need it.[optional] [example: false]
clientIdStringThe OAuth 2.0 client ID this portal is registered with at the service, to build the consent screen URL from. It comes back as null for the services that do not use OAuth.[optional] [example: l1s2h3d4f5g6h7j8k9l0] [nullable]