at_server

command
v0.0.0-...-ed3b7aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 14 Imported by: 0

README

/**

**/

Access Token Server (ATS)

The access token server is deployed in the vehicle, and has two major tasks.

  1. Provision access tokens to requesting clients.
  2. Support the VISSv2 server with validation of client requests to access restricted VSS nodes.

The first task is supported by the ATS through that it exposes a service to clients over the transports: A. HTTP B. MQTT

A client using HTTP shall issue a POST message with the path = atserver, on the port number 8600. The POST payload shall use JSON format, and contain the following: {"token":"ag-token", "purpose":"fuel-status", "pop":"GHI"} where pop is included only if a key was present in AGT request, the token value must be replaced by the AG token, and purpose must be on the Purpose list. For more information, see the VISSv2 specification, the access control chapter in the CORE document.

A client using the MQTT transport must apply the application level protocol which is described in the MQTT manager directory, with the difference that the ATS is subscribing to the following topic: VIN/access-control

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL