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.response ? | IAdminForthHttpResponse |
Returns
Promise
<object
>
body
body:
object
body.allowedLogin?
optional
allowedLogin:boolean
body.redirectTo?
optional
redirectTo:string
error?
optional
error:string
ok
ok:
boolean