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 auth usernamepasswordbasic auth passwordclientIdoauth client idclientSecretoauth client secretauthorizationCodeoauth callback auth coderedirectUrloauth callback redirect urltokenUrloauth api token urlaccessTokenoauth access tokenrefreshTokenoauth refresh tokenexpirationoauth access token expiration timedigestStringstring used for digest authcustomDatacustom data used for custom auth, can be anything