Service: Authentication
This API is not yet officially released nor maintained. |
Service for authentication to the Qb2 device.
Method | Request | Response |
---|---|---|
Login
User-Accounts managed by Qb2 have to use the Login method with an existing account in order to receive a JWT Token for access to priviliged parts of the device API.
The factory user has the username "admin". The password is printed on the device label.
Request
Request for authentication
Field | Type | Default | Unit |
---|---|---|---|
user |
- |
- |
|
Authenticate with user credentials |
|||
application |
- |
- |
|
Authenticate with application key credentials |
Response
Response containing the issued JWT token.
Field | Type | Default | Unit |
---|---|---|---|
token |
string |
- |
- |
The JWT token which needs to be sent with the key "token" in the metadata of a gRPC call. The token is bound to a Service: Session. |