openam-agent-custom
Version:
Customized ForgeRock AM Policy Agent for Node.js from Zoltan Tarcsay
14 lines (13 loc) • 512 B
TypeScript
import { AmClient } from './am-client';
export declare class MtsAmClient extends AmClient {
/**
* Gets a user's profile.
* Customized to supported API.
*/
getProfile(userId: string, realm: string, sessionId: string, cookieName: string): Promise<any>;
/**
* Returns an OpenAM login URL with the goto query parameter set to the original URL in req.
* Customized to accept service parameter, realm param unused.
*/
getLoginUrl(goto?: string, realm?: string): string;
}