Lager - v5.2.0
    Preparing search index...
    • AuthProvider component.

      This component manages the authentication state, including the current user, login status, and any authentication errors. It provides functions to login, logout, and register, which update the authentication state accordingly. Children components can access the authentication state and functions through the useAuthContext hook.

      Parameters

      Returns ReactNode

      The provider component wrapping its children, providing them access to the authentication context.