UNPKG

intercom-client

Version:

Official Node bindings to the Intercom API

15 lines (14 loc) 517 B
import * as core from "../core/index.js"; export declare namespace BearerAuthProvider { interface Options { token?: core.Supplier<core.BearerToken | undefined>; } } export declare class BearerAuthProvider implements core.AuthProvider { private readonly token; constructor(options: BearerAuthProvider.Options); static canCreate(options: BearerAuthProvider.Options): boolean; getAuthRequest(_arg?: { endpointMetadata?: core.EndpointMetadata; }): Promise<core.AuthRequest>; }