Add support for bearer auth (#1488) (#1490)

Co-authored-by: Tomas Della Vedova <delvedor@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2021-07-13 09:40:06 +02:00
committed by GitHub
parent 2f0aeec108
commit ea2c8d2d4d
6 changed files with 65 additions and 3 deletions

5
lib/pool/index.d.ts vendored
View File

@ -61,6 +61,10 @@ interface BasicAuth {
password: string;
}
interface BearerAuth {
bearer: string
}
interface resurrectOptions {
now?: number;
requestId: string;
@ -204,6 +208,7 @@ export {
getConnectionOptions,
ApiKeyAuth,
BasicAuth,
BearerAuth,
internals,
resurrectOptions,
ResurrectEvent,