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
Name | Type |
---|---|
UserType | extends User = User |
AuthControllerType | extends AuthController <UserType > = AuthController <UserType > |
Returns
AuthControllerType