Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • User

Index

Methods

  • Returns a JWT identifying the current OliveHelps user.

    Parameters

    • Optional jwtConfig: JWTConfig

      a JWTConfig object that can be configured to include the user's email

    Returns Promise<string>

    JWT with the current username in the subject field.

  • Returns a an object with the JWT identifying the current OliveHelps user, as well as any optional params.

    Parameters

    • Optional jwtWithUserDetailsConfig: JWTWithUserDetailsConfig

      a JWTWithUserDetailsConfig that can be configured to also include the user's email, full name, organization name, or organization ID

    Returns Promise<JWTWithUserDetails>

    Object with the JWT and any optional user details requested.

Generated using TypeDoc