UNPKG

@authup/core-http-kit

Version:

Package containing global constants, types & interfaces.

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