package com.fluxup.app;

import com.google.firebase.auth.FirebaseUser;

public class AuthManager {
    private static AuthManager instance;

    private AuthManager() {
        // private constructor
    }

    public static synchronized AuthManager getInstance() {
        if (instance == null) {
            instance = new AuthManager();
        }
        return instance;
    }

    public FirebaseUser getCurrentUser() {
        return null;
    }

    public void loginUtilizador(String email, String password, AuthCallback callback) {
        // Mock implementation
        callback.onSuccess();
    }

    public void registrarUtilizador(String email, String password, AuthCallback callback) {
        // Mock implementation
        callback.onSuccess();
    }

    public interface AuthCallback {
        void onSuccess();
        void onFailure(Exception e);
    }
}