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
Name | Type |
---|---|
UserType | extends User = User |
Parameters
Name | Type |
---|---|
«destructured» | Object |
› appCheckForceRefresh? | boolean |
› authController | AuthController <UserType > |
› authentication? | boolean | Authenticator <UserType > |
› dataSource | DataSource |
› getAppCheckToken? | (forceRefresh : boolean ) => undefined | Promise <AppCheckTokenResult > |
› storageSource | StorageSource |
Returns
Object
Name | Type |
---|---|
authLoading | boolean |
authVerified | boolean |
canAccessMainView | boolean |
notAllowedError | any |