Skip to main content
Version: 2.0.0

Function: useValidateAuthenticator

useValidateAuthenticator<UserType>(«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.

Type parameters

NameType
UserTypeextends User = User

Parameters

NameType
«destructured»Object
› appCheckForceRefresh?boolean
› authControllerAuthController<UserType>
› authentication?boolean | Authenticator<UserType>
› dataSourceDataSource
› getAppCheckToken?(forceRefresh: boolean) => undefined | Promise<AppCheckTokenResult>
› storageSourceStorageSource

Returns

Object

NameType
authLoadingboolean
authVerifiedboolean
canAccessMainViewboolean
notAllowedErrorany

Defined in

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

Enterprise or start-up?

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