UNPKG

@livechat/customer-auth

Version:

Authorization library for connecting to LiveChat as a customer.

5 lines 298 B
import { CustomerAuth, Config, Token, Env } from './types'; export declare const isExpiredToken: ({ creationDate, expiresIn }: Token) => boolean; declare const createAuth: (config: Config, licenseId?: number, env?: Env) => CustomerAuth; export default createAuth; //# sourceMappingURL=auth.d.ts.map