Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

expire_time?: ExpireTimeOption

The time for when the token should expire. It will be randomly generated if not included. Accepts “never” as value.

middleware?: string

[optional] Middleware or type of the device that will be added.

name: string

A name for the token.

permission: PermissionOption

Token permission should be 'write', 'read' or 'full'.

serie_number?: string

[optional] The serial number of the device.

verification_code?: string

[optional] Verification code to validate middleware requests.