Auth API Documentation¶
Overview¶
The Auth API handles user authentication, authorization, and role management for the GolfChart system.
Endpoints¶
Authentication¶
signUp()- Create new user accountsignIn()- Authenticate usersignOut()- Logout userresetPassword()- Password reset flow
User Management¶
createUser()- Create new user (admin)updateUser()- Update user profiledeleteUser()- Delete user accountgetUser()- Fetch user details
Roles & Permissions¶
setUserRole()- Assign user rolegetPermissions()- Fetch user permissionscheckAccess()- Verify access to resource
Integration¶
Auth is integrated with Firebase Authentication and Firestore for secure credential management.
See API Overview for complete API reference.