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
username
basic auth usernamepassword
basic auth passwordclientId
oauth client idclientSecret
oauth client secretauthorizationCode
oauth callback auth coderedirectUrl
oauth callback redirect urltokenUrl
oauth api token urlaccessToken
oauth access tokenrefreshToken
oauth refresh tokenexpiration
oauth access token expiration timedigestString
string used for digest authcustomData
custom data used for custom auth, can be anything