auth.d.ts get-authentication.d.ts hook.d.ts index.d.ts requires-basic-auth.d.ts types.d.ts version.d.ts