Module secret

Source
Expand description

API to store the data of a session in a secret store on the system.

Modulesยง

file ๐Ÿ”’
API to store the session tokens in a file on the system.
linux ๐Ÿ”’
Linux API to store the data of a session, using the Secret Service or Secret portal.

Structsยง

StoredSession
A session, as stored in the secret service.

Enumsยง

SecretError ๐Ÿ”’
Any error that can happen when interacting with the secret service.

Constantsยง

PASSPHRASE_LENGTH ๐Ÿ”’
The length of a passphrase, in chars or bytes as the string is ASCII.
SESSION_ID_LENGTH ๐Ÿ”’
The length of a session ID, in chars or bytes as the string is ASCII.

Traitsยง

SecretExt ๐Ÿ”’
Trait implemented by secret backends.

Type Aliasesยง

Secret ๐Ÿ”’
The secret API.