mdl-identifi-ts
Version:
TypeScript client SDK for the headless micro CRM, Minddale.
12 lines (11 loc) • 562 B
TypeScript
import { MinddaleClient } from "./minddale.client";
export declare class IdentifiClient extends MinddaleClient {
private apiKey;
private baseUrl?;
static readonly ENDPOINT = "/api/open/minddale/v1/identifi/validate-jwt";
constructor(apiKey: string, baseUrl?: string | undefined);
saveJsonToLocalStorage(key: string, jsonObject: object): void;
saveValueToLocalStorage(key: string, value: string): void;
getItemFromLocalStorage<T = any>(key: string): T | null;
validateJwtToken(token: string, endpoint: string): Promise<unknown>;
}