Enums

Details

class Secret.BackendFlags(value)

Bases: GObject.GEnum

Flags which determine which parts of the Secret.Backend are initialized.

New in version 0.19.0.

NONE = 0

no flags for initializing the Secret.Backend

OPEN_SESSION = 2

establish a session for transfer of secrets while initializing the Secret.Backend

LOAD_COLLECTIONS = 4

load collections while initializing the Secret.Backend

class Secret.Error(value)

Bases: GObject.GEnum

classmethod get_quark()
Return type:int
PROTOCOL = 1
IS_LOCKED = 2
NO_SUCH_OBJECT = 3
ALREADY_EXISTS = 4
INVALID_FILE_FORMAT = 5
class Secret.SchemaAttributeType(value)

Bases: GObject.GEnum

The type of an attribute in a Secret.Schema. Attributes are stored as strings in the Secret Service, and the attribute types simply define standard ways to store integer and boolean values as strings.

STRING = 0

a utf-8 string attribute

INTEGER = 1

an integer attribute, stored as a decimal

BOOLEAN = 2

a boolean attribute, stored as ‘true’ or ‘false’

class Secret.SchemaType(value)

Bases: GObject.GEnum

Different types of schemas for storing secrets, intended for use with Secret.get_schema().

New in version 0.18.6.

NOTE = 0

Personal passwords; see %SECRET_SCHEMA_NOTE

COMPAT_NETWORK = 1

Network passwords from older libgnome-keyring storage; see %SECRET_SCHEMA_COMPAT_NETWORK