@memberjunction/actions-bizapps-lms
Version:
LMS system integration actions for MemberJunction
35 lines • 1.28 kB
TypeScript
import { LearnWorldsBaseAction } from '../learnworlds-base.action.js';
import { ActionParam, ActionResultSimple, RunActionParams } from '@memberjunction/actions-base';
import { UserInfo } from '@memberjunction/core';
import { SSOLoginParams, SSOLoginResult } from '../interfaces/index.js';
/**
* Action to generate an SSO login URL for a LearnWorlds user
*/
export declare class SSOLoginAction extends LearnWorldsBaseAction {
/**
* Generates an SSO login URL for a LearnWorlds user.
* Requires either Email or UserID to identify the user.
*/
GenerateSSOUrl(params: SSOLoginParams, contextUser: UserInfo): Promise<SSOLoginResult>;
/**
* Validates that either Email or UserID is provided
*/
private validateSSOParams;
/**
* Builds the SSO request body based on which identifier is provided
*/
private buildSSORequestBody;
/**
* Framework entry point that delegates to the typed public method
*/
protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>;
/**
* Define the parameters this action expects
*/
get Params(): ActionParam[];
/**
* Metadata about this action
*/
get Description(): string;
}
//# sourceMappingURL=sso-login.action.d.ts.map