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