The authentication store manages the user’s authentication state. It tracks whether the user is currently authenticated but does not handle the authentication flow itself (that is managed by Google’s authentication system).Documentation Index
Fetch the complete documentation index at: https://mintlify.com/stevenson-space/shs/llms.txt
Use this file to discover all available pages before exploring further.
State Properties
Whether the user is currently authenticated. Defaults to false.
Actions
setAuthenticated
Whether the user should be marked as authenticated
Example Usage
Here’s an example of using the authentication store in a component:Important Notes
- The authentication state is not persisted to localStorage
- Google’s authentication system automatically handles token refreshes and sign-ins
- This store is only for tracking the current authentication state in the application
- The actual authentication flow should be handled by Google’s authentication APIs