Skip to main content
Version: 2.0.0-alpha

Function: useAuthController

useAuthController<UserType, AuthControllerType>(): AuthControllerType

Hook to retrieve the AuthContext.

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

See

AuthController

Type parameters

NameType
UserTypeextends User = User
AuthControllerTypeextends AuthController<UserType> = AuthController<UserType>

Returns

AuthControllerType

Defined in

lib/src/hooks/useAuthController.tsx:13

Need a hand?

We are happy to offer consulting services to help you get the most out of FireCMS.
Get in touch