UNPKG

@proofkit/fmodata

Version:

FileMaker OData API client

24 lines (23 loc) 698 B
type FetchLike = (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>; export declare class ClarisIdAuthManager { private readonly username; private readonly password; private authenticationDetails; private userPool; private cognitoUser; private userSession; private idTokenPromise; constructor(config: { username: string; password: string; }); getAuthorizationHeader(fetchLike?: FetchLike): Promise<string>; private getAuthenticationDetails; private getIdToken; private getStoredIdToken; private refreshSession; private retrieveNewSession; private getCognitoUser; private getUserPool; } export {};