React Native Auth0 - v5.0.0-beta.4
    Preparing search index...

    Function useAuth0

    • The primary hook for interacting with the Auth0 SDK in a React component.

      It provides access to the authentication state (user, error, isLoading) and methods for performing authentication (authorize, clearSession, etc.).

      Returns Auth0ContextInterface

      The current authentication state and methods.

      const { user, authorize, clearSession, isLoading } = useAuth0();