Skip to main content
Version: 3.0.0-beta

Function: useAuthController()

useAuthController<USER, AuthControllerType>(): AuthControllerType

Hook to retrieve the AuthContext.

Consider that in order to use this hook you need to have a parent FireCMS

Type Parameters​

• USER extends User = User

• AuthControllerType extends AuthController<USER> = AuthController<USER>

Returns​

AuthControllerType

See​

AuthController

Defined in​

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

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