useValidateAuthenticator
@firecms/core / useValidateAuthenticator
Function: useValidateAuthenticator()
Section titled “Function: useValidateAuthenticator()”useValidateAuthenticator<
USER>(authController):object
Defined in: hooks/useValidateAuthenticator.tsx:14
This hook is used internally for validating an authenticator.
Type Parameters
Section titled “Type Parameters”USER extends User = any
Parameters
Section titled “Parameters”authController
Section titled “authController”authController
Section titled “authController”AuthController<USER>
authenticator?
Section titled “authenticator?”boolean | Authenticator<USER>
dataSourceDelegate
Section titled “dataSourceDelegate”disabled?
Section titled “disabled?”boolean
storageSource
Section titled “storageSource”Returns
Section titled “Returns”object
authLoading
Section titled “authLoading”authLoading:
boolean
authVerified
Section titled “authVerified”authVerified:
boolean
canAccessMainView
Section titled “canAccessMainView”canAccessMainView:
boolean
notAllowedError
Section titled “notAllowedError”notAllowedError:
any