frontend
    Preparing search index...

    Interface AuthResponse

    Response returned after successful authentication.

    interface AuthResponse {
        token: string;
        user: { email: string; id: string; name: string };
    }
    Index

    Properties

    Properties

    token: string

    JWT authentication token

    user: { email: string; id: string; name: string }

    Authenticated user details

    Type Declaration

    • email: string

      User email address

    • id: string

      User ID

    • name: string

      User name