Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDeviceBootstrapOptions

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

Hierarchy

  • IDeviceBootstrapOptions

Index

Properties

Optional basicAuth

basicAuth: object

Object to define username and password as string.

example

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

Type declaration

Optional basicAuthToken

basicAuthToken: string

If already logged in it is accessible via client.auth.getHeader, see [[BasicAuth.getHeader]]

example

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

Generated using TypeDoc