UsageHooks
useAuth
Returns
isAuthenticated:boolean- Current authentication statuslogin:() => Promise- Trigger login flowlogout:() => Promise- Trigger logout flow
If you need more help, explore our other articles or reach out to our support team via chat or email support@avacloud.io. All examples provided are for demonstration purposes only.
Learn More About AvaCloud | Download Case Studies | Schedule an AvaCloud Demo