ProfileRepository class This class is responsible for handling the communication with the Profile service in order to create a user profile.

Constructors

Methods

Constructors

Methods

  • Create a user profile

    Parameters

    • email: string

      The email of the user

    • username: string

      The username of the user

    • accessToken: string

      The access token of the user

    Returns Promise<void>

    The result of the creation

    If the user profile could not be created

    If the user could not be deleted

    If the profile service is not available