TypeScript API / contentia/storage/webdav / WebDavAuth
Interface: WebDavAuth
Credentials for the WebDAV server. Basic auth and Bearer tokens are mutually exclusive.
Properties
headers?
ts
readonly headers?: Readonly<Record<string, string>>;Extra headers merged into every request (e.g. an OCS-APIRequest header for Nextcloud).
password?
ts
readonly password?: string;Password for HTTP Basic auth.
token?
ts
readonly token?: string;Bearer token; takes precedence over username/password when set.
username?
ts
readonly username?: string;Username for HTTP Basic auth.