@rockcarver/frodo-lib
Version:
A library to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.
22 lines • 762 B
TypeScript
import { type SessionInfoType } from '../api/SessionApi';
import { State } from '../shared/State';
export type Session = {
/**
* Get session info
* @param {string} tokenId session token
* @returns {Promise<SessionInfoType>} a promise resolving to a session info object
*/
getSessionInfo(tokenId: string): Promise<SessionInfoType>;
};
declare const _default: (state: State) => Session;
export default _default;
/**
* Get session info
* @param {string} tokenId session token
* @returns {Promise<SessionInfoType>} a promise resolving to a session info object
*/
export declare function getSessionInfo({ tokenId, state, }: {
tokenId: string;
state: State;
}): Promise<SessionInfoType>;
//# sourceMappingURL=SessionOps.d.ts.map