Interface to use as options parameter to bootstrap a new device.

Hierarchy

  • IDeviceBootstrapOptions

Properties

basicAuth?: {
    pass: string;
    user: string;
}

Object to define username and password as string.

Example


const basicAuth = {
user: 'username',
pass: 'password'
}

Type declaration

  • pass: string
  • user: string
basicAuthToken?: string

If already logged in it is accessible via client.auth.getFetchOptions, see BasicAuth.getFetchOptions

Example


// tenant/username:password
const basicAuthToken = 'Basic dGVuYW50L3VzZXJuYW1lOnBhc3N3b3Jk';