Enums

Details

class Signon.Error(value)

Bases: GObject.GEnum

Possible Signon errors.

classmethod quark()
Return type:

int

UNKNOWN = 1

Catch-all for errors not distinguished by another code.

METHOD_NOT_KNOWN = 101

The method with this name was not found.

SERVICE_NOT_AVAILABLE = 102

The service is temporarily unavailable.

INVALID_QUERY = 103

Parameters for the query are invalid.

INTERNAL_SERVER = 2

Signon daemon internal error.

METHOD_NOT_AVAILABLE = 201

The requested method is not available.

IDENTITY_NOT_FOUND = 202

The identity mathching the Signon.Identity was not found on the service.

STORE_FAILED = 203

Storing credentials failed.

REMOVE_FAILED = 204

Removing credentials failed.

SIGNOUT_FAILED = 205

Signing out failed.

IDENTITY_OPERATION_CANCELED = 206

Identity operation was canceled by the user.

CREDENTIALS_NOT_AVAILABLE = 207

Query failed.

REFERENCE_NOT_FOUND = 208

Trying to remove non-existent reference.

INTERNAL_COMMUNICATION = 3

Error communicating with Sigon daemon.

MECHANISM_NOT_AVAILABLE = 301

The requested mechanism in not available.

MISSING_DATA = 302

The #SessionData does not contain the necessary information.

INVALID_CREDENTIALS = 303

The supplied credentials are invalid for the mechanism implementation.

NOT_AUTHORIZED = 304

Authorization failed.

WRONG_STATE = 305

An operation method has been called in an incorrect state.

OPERATION_NOT_SUPPORTED = 306

The operation is not supported by the mechanism implementation.

NO_CONNECTION = 307

No network connection.

NETWORK = 308

Network connection failed.

SSL = 309

SSL connection failed.

RUNTIME = 310

Casting #SessionData into subclass failed.

SESSION_CANCELED = 311

Challenge was canceled.

TIMED_OUT = 312

Challenge timed out.

USER_INTERACTION = 313

User interaction dialog failed.

OPERATION_FAILED = 314

Temporary failure in authentication.

ENCRYPTION_FAILED = 315

deprecated: Failure during data encryption/decryption.

TOS_NOT_ACCEPTED = 316

User declined Terms of Service.

FORGOT_PASSWORD = 317

User requested password reset sequence.

METHOD_OR_MECHANISM_NOT_ALLOWED = 318

Method or mechanism not allowed for this identity.

INCORRECT_DATE = 319

Date/time incorrect on device.

PERMISSION_DENIED = 4

The operation cannot be performed due to insufficient client permissions.

USER_ERROR = 400

Placeholder to rearrange enumeration - userspace specific.

class Signon.SessionDataUiPolicy(value)

Bases: GObject.GEnum

Policy for the signon process, passed to the UI plugin.

DEFAULT = 0

The plugin can decide when to show UI.

REQUEST_PASSWORD = 1

Force the user to enter the password.

NO_USER_INTERACTION = 2

No UI elements will be shown to the user.

VALIDATION = 3

UI elements can be shown to the user only when CAPTCHA-like security measures are required.