useAuthController
@firecms/core / useAuthController
Function: useAuthController()
Section titled “Function: useAuthController()”useAuthController<
USER,AuthControllerType>():AuthControllerType
Defined in: hooks/useAuthController.tsx:14
Hook to retrieve the AuthContext.
Consider that in order to use this hook you need to have a parent
FireCMS
Type Parameters
Section titled “Type Parameters”AuthControllerType
Section titled “AuthControllerType”AuthControllerType extends AuthController<USER> = AuthController<USER>
Returns
Section titled “Returns”AuthControllerType
AuthController