UNPKG

@rockcarver/frodo-lib

Version:

A library to manage ForgeRock Identity Cloud tenants, ForgeOps deployments, and classic deployments.

23 lines 648 B
import { State } from '../shared/State'; export type SessionInfoType = { username: string; universalId: string; realm: string; latestAccessTime: string; maxIdleExpirationTime: string; maxSessionExpirationTime: string; properties: { AMCtxId: string; [k: string]: string; }; }; /** * 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=SessionApi.d.ts.map