Skip to main content
Version: 2.0.0-alpha

Function: useValidateAuthenticator

useValidateAuthenticator(__namedParameters): Object

This hook is used internally for validating an authenticator. You may want to use it if you are not using FirebaseCMSApp, but building your own custom FireCMS instance.

Parameters

NameType
__namedParametersObject
__namedParameters.authControllerFirebaseAuthController
__namedParameters.authentication?boolean | Authenticator<User>
__namedParameters.dataSourceDataSource
__namedParameters.storageSourceStorageSource

Returns

Object

NameType
authLoadingboolean
authVerifiedboolean
canAccessMainViewboolean
notAllowedErrorany

Defined in

lib/src/firebase_app/hooks/useValidateAuthenticator.tsx:18

Need a hand?

We are happy to offer consulting services to help you get the most out of FireCMS.
Get in touch