A library which implements HTTP digest authentication for axios clients. With generic typescript support
npm install @lukesthl/ts-axios-digest-auth
import { AxiosDigestAuth } from '@lukesthl/ts-axios-digest-auth';
const digestAuthClient = new AxiosDigestAuth({
username: MY_DIGEST_USERNAME,
password: MY_DIGEST_PASSWORD,
});
await digestAuthClient.get('https://example.com');
Type: string
Type: string
Type: AxiosInstance
This is an fork of @mhoc's axios-digest-auth package, with typescript support