UNPKG

@authup/core-http-kit

Version:

Package containing global constants, types & interfaces.

17 lines 544 B
import type { ClientOptions } from '../../client'; import type { TokenCreator } from '../type'; export type ClientTokenCreatorOptions = { client?: ClientOptions; }; export type ClientTokenCreatorCredentials = { id: string; secret: string; }; /** * Create token creator based on client credentials flow. * * @param credentials * @param options */ export declare function createClientTokenCreator(credentials: ClientTokenCreatorCredentials, options?: ClientTokenCreatorOptions): TokenCreator; //# sourceMappingURL=client.d.ts.map