Function: useValidateAuthenticator()
useValidateAuthenticator<
USER
>(__namedParameters
):object
This hook is used internally for validating an authenticator.
Type Parameters​
• USER extends User
= any
Parameters​
• __namedParameters
• __namedParameters.authController: AuthController
<USER
>
• __namedParameters.authenticator?: boolean
| Authenticator
<USER
>
• __namedParameters.dataSourceDelegate: DataSourceDelegate
• __namedParameters.disabled?: boolean
• __namedParameters.storageSource: StorageSource
Returns​
object
authLoading​
authLoading:
boolean
authVerified​
authVerified:
boolean
canAccessMainView​
canAccessMainView:
boolean
notAllowedError​
notAllowedError:
any
Defined in​
packages/firecms_core/src/hooks/useValidateAuthenticator.tsx:14