Skip to content

Auth API Documentation

Overview

The Auth API handles user authentication, authorization, and role management for the GolfChart system.

Endpoints

Authentication

  • signUp() - Create new user account
  • signIn() - Authenticate user
  • signOut() - Logout user
  • resetPassword() - Password reset flow

User Management

  • createUser() - Create new user (admin)
  • updateUser() - Update user profile
  • deleteUser() - Delete user account
  • getUser() - Fetch user details

Roles & Permissions

  • setUserRole() - Assign user role
  • getPermissions() - Fetch user permissions
  • checkAccess() - Verify access to resource

Integration

Auth is integrated with Firebase Authentication and Firestore for secure credential management.

See API Overview for complete API reference.