ProfileRepository

Interface for managing profile-related operations.

This repository observes Firebase Auth state to provide profile information and handle sign-out operations. Profile data is cached locally for offline access.

See also

Implementation class with Firebase Auth integration

Functions

Link copied to clipboard
abstract fun getProfile(): Flow<Profile>

Retrieves the profile information.

Link copied to clipboard
abstract suspend fun signOut(): Result<Unit>

Signs out the current user.