Auth

Auth

Auth class implements IAuth for handling authentication. It retrieves and manages JWT tokens using the provided API key.

Constructor

new Auth(apiKey)

Description:
  • Constructs a new Auth instance.

Source:
Parameters:
Name Type Description
apiKey

The API key in the format 'key.value'.

Classes

Auth

Methods

getAuthHeader() → {Promise.<Array.<string>>}

Description:
  • Returns the authorization header for the client

Source:
Returns:

Promise resolving to [headerName, headerValue]

Type
Promise.<Array.<string>>