Skip to main content
Version: 2.0.0-beta

Function: useValidateAuthenticator

useValidateAuthenticator(«destructured»): 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
«destructured»Object
› appCheckForceRefresh?boolean
› authControllerFirebaseAuthController
› authentication?boolean | Authenticator<User>
› dataSourceDataSource
› getAppCheckToken?(forceRefresh: boolean) => undefined | Promise<AppCheckTokenResult>
› storageSourceStorageSource

Returns

Object

NameType
authLoadingboolean
authVerifiedboolean
canAccessMainViewboolean
notAllowedErrorany

Defined in

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

Enterprise?

Learn how to get the most out of your project with the help of our consulting team.
Get in touch
Sign up to our newsletter to get the latest news and updates. No spam!