Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BasicAuth

Allows to use Basic-Auth for Authorization to the Cumulocity API.

Hierarchy

  • BasicAuth

Implements

Index

Constructors

constructor

  • Authenticates the given user against the given tenant.

    Parameters

    Returns BasicAuth

Properties

user

user: string

Methods

getCometdHandshake

  • getCometdHandshake(config?: object): object
  • Parameters

    • Default value config: object = {}

    Returns object

getFetchOptions

  • getFetchOptions(options: any): any
  • Parameters

    • options: any

    Returns any

updateCredentials

  • updateCredentials(__namedParameters?: object): void
  • Parameters

    • Default value __namedParameters: object = {}

    Returns void

Generated using TypeDoc