Skip to main content
Version: 3.0.0-beta

Function: useValidateAuthenticator()

useValidateAuthenticator<USER>(__namedParameters): object

This hook is used internally for validating an authenticator.

Type Parameters​

• USER extends User = any

Parameters​

• __namedParameters

• __namedParameters.authController: AuthController<USER>

• __namedParameters.authenticator?: boolean | Authenticator<USER>

• __namedParameters.dataSourceDelegate: DataSourceDelegate

• __namedParameters.disabled?: boolean

• __namedParameters.storageSource: StorageSource

Returns​

object

authLoading​

authLoading: boolean

authVerified​

authVerified: boolean

canAccessMainView​

canAccessMainView: boolean

notAllowedError​

notAllowedError: any

Defined in​

packages/firecms_core/src/hooks/useValidateAuthenticator.tsx:14

Sign up to our newsletter to get the latest news and updates. No spam!