Skip to main content
Version: 2.0.0

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:14

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!