DAVCredentials
export type DAVCredentials = { username?: string; password?: string; clientId?: string; clientSecret?: string; authorizationCode?: string; redirectUrl?: string; tokenUrl?: string; accessToken?: string; refreshToken?: string; expiration?: number; digestString?: string; customData?: Record<string, unknown>;};refer to this page for more on what these fields mean
usernameBasic or Digest auth usernamepasswordBasic or Digest auth passwordclientIdoauth client idclientSecretoauth client secretauthorizationCodeoauth callback auth coderedirectUrloauth callback redirect urltokenUrloauth api token urlaccessTokenoauth access tokenrefreshTokenoauth refresh tokenexpirationoauth access token expiration timedigestStringa precomputed digest string, sent as-is withauthMethod: 'Digest'. Preferusernameandpassword, which let tsdav answer the server’s challengecustomDatacustom data used for custom auth, can be anything
See authentication helpers for Digest configuration, runtime requirements, redirects, and supported algorithms.