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