user-service
    Preparing search index...

    Service interface for handling authentication and authorization.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Authenticates a user with their credentials and issues an access token.

      Parameters

      • username: string

        The username of the user attempting to log in.

      • password: string

        The password of the user.

      Returns Promise<RefreshResponse>

      A promise that resolves to a new access token if authentication succeeds.

    • Logs a user out of the system

      Parameters

      • username: string

        The username of the user logging out.

      Returns Promise<void>

      A promise that resolves once the logout process is complete.