Skip to main content

Module server_client

Module server_client 

Source

Structs§

ChallengeResponse
CheckinResponse
DeviceCredential
Stored device credential — saved locally after enrollment.
EnrollInfoResponse
EnrollResponse
ServerClient
Client for communicating with the device gateway.

Functions§

credential_path
Path to the device credential file: ~/.local/share/cfgd/device-credential.json
load_credential
Load a previously stored device credential.
load_credential_from
Load a device credential from a specific path.
save_credential
Save a device credential to disk after enrollment.