Skip to main content
Version: 3.0.0-beta

Function: useValidateAuthenticator()

useValidateAuthenticator<UserType, Controller>(__namedParameters): object

This hook is used internally for validating an authenticator.

Type Parameters​

• UserType extends User = User

• Controller extends AuthController<UserType> = AuthController<UserType>

Parameters​

• __namedParameters

• __namedParameters.authController: Controller

• __namedParameters.authenticator?: boolean | Authenticator<UserType, Controller>

• __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!