astarte_device v0.11.0 Astarte.API.Pairing
Astarte Pairing API access module.
Link to this section Summary
Functions
Create a client to access Pairing API.
Link to this section Functions
Link to this function
client(pairing_url, realm, opts \\ [])
Create a client to access Pairing API.
pairing_url is the URL of the Astarte Pairing API instance the client will connect to, up to (and including) /v1. E.g. https://astarte.api.example.com/pairing/v1 or http://localhost:4003/v1 for a local installation.
realm is the realm that the API will access
opts is a keyword list of additional options detailed below
Options
:auth_token- Auth token that will be used as authorization when accessing Pairing API. This can be a JWT to use it withAstarte.API.Pairing.Agentor a credentials secret to use it withAstarte.API.Pairing.Device.