Skip to main content

Module device

Module device 

Source
Expand description

The device identity presented to 1Password and its registration.

StructsΒ§

ClientInfo πŸ”’
Client identity headers sent with every request.

ConstantsΒ§

BASE32_ALPHABET πŸ”’
DEVICE_ENDPOINT πŸ”’
DEVICE_NAME πŸ”’
Shown in the account’s device list, so it names us rather than a 1Password client.
DEVICE_UUID_LENGTH πŸ”’
SSO_DEVICE_MODEL πŸ”’
The model of the SSO device descriptors is this crate’s version.

FunctionsΒ§

check_success πŸ”’
generate_device_uuid πŸ”’
Generates a 26-character 1Password device id from the lowercase base32 alphabet.
reauthorize_device πŸ”’
Reauthorizes a previously deleted device.
register_device πŸ”’
Registers the device with the server.