Enums

Details

class Signon.Error(value)

Bases: GObject.GEnum

Possible Signon errors.

classmethod quark()
Return type:int
UNKNOWN = 1
METHOD_NOT_KNOWN = 101
SERVICE_NOT_AVAILABLE = 102
INVALID_QUERY = 103
INTERNAL_SERVER = 2
METHOD_NOT_AVAILABLE = 201
IDENTITY_NOT_FOUND = 202
STORE_FAILED = 203
REMOVE_FAILED = 204
SIGNOUT_FAILED = 205
IDENTITY_OPERATION_CANCELED = 206
CREDENTIALS_NOT_AVAILABLE = 207
REFERENCE_NOT_FOUND = 208
INTERNAL_COMMUNICATION = 3
MECHANISM_NOT_AVAILABLE = 301
MISSING_DATA = 302
INVALID_CREDENTIALS = 303
NOT_AUTHORIZED = 304
WRONG_STATE = 305
OPERATION_NOT_SUPPORTED = 306
NO_CONNECTION = 307
NETWORK = 308
SSL = 309
RUNTIME = 310
SESSION_CANCELED = 311
TIMED_OUT = 312
USER_INTERACTION = 313
OPERATION_FAILED = 314
ENCRYPTION_FAILED = 315
TOS_NOT_ACCEPTED = 316
FORGOT_PASSWORD = 317
METHOD_OR_MECHANISM_NOT_ALLOWED = 318
INCORRECT_DATE = 319
PERMISSION_DENIED = 4
USER_ERROR = 400
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.