Authentication action functions including login and logout.
Throws
When used outside an AuthProvider.
Source
exportfunctionuseAuthActions(): AuthActionsContextValue { constcontext = useContext(AuthActionsContext); if (context === undefined) { thrownewError("useAuthActions must be used within an AuthProvider"); } returncontext; }
Accesses the authentication actions context.