@rockcarver/frodo-lib
Version:
A library to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.
30 lines • 1 kB
TypeScript
import { State } from '../shared/State';
/**
* Fill callbacks from a map
* Just a start
* @param {object} response json response from a call to /authenticate
* @param {{ [k: string]: string | number | boolean | string[] }} map name/value map
* @returns filled response body so it can be used as input to another call to /authenticate
*/
export declare function fillCallbacks({ response, map, }: {
response: object;
map: {
[k: string]: string | number | boolean | string[];
};
}): object;
/**
*
* @param {any} body POST request body
* @param {any} config request config
* @param {string} realm realm
* @param {string} service name of authentication service/journey
* @returns Promise resolving to the authentication service response
*/
export declare function step({ body, config, realm, service, state, }: {
body?: object;
config?: object;
realm?: string;
service?: string;
state: State;
}): Promise<any>;
//# sourceMappingURL=AuthenticateApi.d.ts.map