Top | ![]() |
![]() |
![]() |
![]() |
This file provides GSignond error definitions and utilities. When creating an error, use GSIGNOND_ERROR for the error domain and errors from GSignondError for the error code.
"Not enough data");
GQuark
gsignond_error_quark (void
);
Creates and returns a domain for GSignond errors.
GError *
gsignond_error_new_from_variant (GVariant *var
);
Converts the GVariant to GError.
GVariant *
gsignond_error_to_variant (GError *error
);
Converts the GError to GVariant.
#define gsignond_get_gerror_for_id(err, message, args...)
A helper macro that creates a GError with the proper gsignond domain
err |
A GSignondError specifying the error |
|
message |
Format string for the error message |
|
... |
parameters for the error string |
#define GSIGNOND_ERROR (gsignond_error_quark())
This macro should be used when creating a GError in GSignond plugins and extensions.
(for example with g_error_new()
)
This enum provides a list of errors that plugins and extensions can use.
No error |
||
Catch-all for errors not distinguished by another code. |
||
Signon Daemon internal error. |
||
Communication with Signon Daemon error. |
||
The operation cannot be performed due to insufficient client permissions. |
||
Failure during data encryption/decryption. |
||
Placeholder to rearrange enumeration - AuthService specific |
||
The method with this name is not found. |
||
The service is temporarily unavailable. |
||
Parameters for the query are invalid. |
||
Placeholder to rearrange enumeration - Identity specific |
||
The requested method is not available. |
||
The identity matching this Identity object was not found on the service. |
||
Storing credentials failed. |
||
Removing credentials failed. |
||
SignOut failed. |
||
Identity operation was canceled by user. |
||
Query failed. |
||
Trying to remove nonexistent reference. |
||
Placeholder to rearrange enumeration - AuthSession/PluginInterface specific |
||
The requested mechanism is not available. |
||
The SessionData object does not contain necessary information. |
||
The supplied credentials are invalid for the mechanism implementation. |
||
Authorization failed. |
||
An operation method has been called in a wrong state. |
||
The operation is not supported by the mechanism implementation. |
||
No Network connetion. |
||
Network connetion failed. |
||
Ssl connection failed. |
||
Casting SessionData into subclass failed |
||
Challenge was cancelled. |
||
Challenge was timed out. |
||
User interaction dialog failed |
||
Temporary failure in authentication. |
||
Failure during data encryption/decryption. |
||
User declined Terms of Service. |
||
User requested reset password sequence. |
||
Method or mechanism not allowed for this identity. |
||
Date time incorrect on device. |
||
Placeholder to rearrange enumeration - User space specific |