DRIVR Local Api Tokens MQTT API for Connectors 1.1.0

This page provides an overview of all MQTT topics that can be used to retrieve LocalApiToken information within DRIVR. These tokens are generally used for on-device API authentication and generated and downloaded from the cloud using the below topics. The JWKs information provided by DRIVR enables the device to verify token authenticity even if the connection to the cloud is limited or intermittent. For more information please refer to the following guide: Local Api Tokens. PLEASE NOTE: For comprehensive explanations of terms such as Domain, System, Component, Event, Service, Characteristic, and others used in this document, please refer to Terms.

Servers

  • mqtt://mqtt.drivr.cloud:{port}/secure-mqtt 3.1.1drivr-mqtt-broker

    DRIVR MQTT Broker

    object

Operations

  • SUB drivr/v1/{slug}/jwks

    Returns the Json Web Keys for the domain.

    Operation IDgetDomainJwks

    Available only on servers:

    object
    object

    Accepts the following message:

    <anonymous-message-1>
    Message ID<anonymous-message-1>

    The JSON Web Key Set (JWKS) for the domain.

    object

    Examples

  • SUB drivr/v1/{slug}/authorization/localApiTokens/{systemUuid}

    Returns the local api tokens for the provided System. These tokens can be used by systems which provide a local API to authenticate DRIVR users against the local API.

    Operation IDgetLocalApiTokens

    Available only on servers:

    object
    object

    Accepts the following message:

    <anonymous-message-2>
    Message ID<anonymous-message-2>

    The payload to be processed by DRIVR to authenticate a User on the local API provided by a system.

    array<object>

    Examples