BeforeLoginConfirmationFunction()
BeforeLoginConfirmationFunction = (
params?) =>Promise<{body: {allowedLogin?:boolean;redirectTo?:string; };error?:string; }>
Allow to get user data before login confirmation, will triger when user try to login.
Parameters
| Parameter | Type |
|---|---|
params? | { adminforth: IAdminForth; adminUser: AdminUser; extra?: HttpExtra; rememberMeDays?: number; response: IAdminForthHttpResponse; } |
params.adminforth? | IAdminForth |
params.adminUser? | AdminUser |
params.extra? | HttpExtra |
params.rememberMeDays? | number |
params.response? | IAdminForthHttpResponse |
Returns
Promise<{ body: { allowedLogin?: boolean; redirectTo?: string; }; error?: string; }>