![]() |
![]() |
![]() |
libsignon-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
#define SIGNON_SESSION_DATA_USERNAME #define SIGNON_SESSION_DATA_SECRET #define SIGNON_SESSION_DATA_REALM #define SIGNON_SESSION_DATA_PROXY enum SignonSessionDataUiPolicy; #define SIGNON_SESSION_DATA_UI_POLICY #define SIGNON_SESSION_DATA_CAPTION #define SIGNON_SESSION_DATA_TIMEOUT #define SIGNON_SESSION_DATA_WINDOW_ID #define SIGNON_SESSION_DATA_RENEW_TOKEN SignonAuthSession; SignonAuthSessionPrivate; SignonAuthSessionClass; SignonAuthSession * signon_auth_session_new (gint id
,const gchar *method_name
,GError **err
); const gchar * signon_auth_session_get_method (SignonAuthSession *self
); void (*SignonAuthSessionQueryAvailableMechanismsCb) (SignonAuthSession *self
,gchar **mechanisms
,const GError *error
,gpointer user_data
); void signon_auth_session_query_available_mechanisms (SignonAuthSession *self
,const gchar **wanted_mechanisms
,SignonAuthSessionQueryAvailableMechanismsCb cb
,gpointer user_data
); void (*SignonAuthSessionProcessCb) (SignonAuthSession *self
,GHashTable *session_data
,const GError *error
,gpointer user_data
); void signon_auth_session_process (SignonAuthSession *self
,const GHashTable *session_data
,const gchar *mechanism
,SignonAuthSessionProcessCb cb
,gpointer user_data
); void signon_auth_session_cancel (SignonAuthSession *self
);
typedef enum { SignonPolicyDefault = 0, /**< Plugin can decide when to show ui. */ SignonPolicyRequestPassword, /**< Force user to enter password. */ SignonPolicyNoUserInteraction, /**< No ui elements are shown to user. */ /** * UI elements can be shown to the user only when captcha-like security * measures are required. */ SignonPolicyValidation, } SignonSessionDataUiPolicy;
SignonAuthSession * signon_auth_session_new (gint id
,const gchar *method_name
,GError **err
);
|
|
|
|
|
|
Returns : |
const gchar * signon_auth_session_get_method (SignonAuthSession *self
);
|
|
Returns : |
void (*SignonAuthSessionQueryAvailableMechanismsCb) (SignonAuthSession *self
,gchar **mechanisms
,const GError *error
,gpointer user_data
);
|
|
|
|
|
|
|
void signon_auth_session_query_available_mechanisms (SignonAuthSession *self
,const gchar **wanted_mechanisms
,SignonAuthSessionQueryAvailableMechanismsCb cb
,gpointer user_data
);
|
|
|
|
|
|
|
void (*SignonAuthSessionProcessCb) (SignonAuthSession *self
,GHashTable *session_data
,const GError *error
,gpointer user_data
);
|
|
|
|
|
|
|
void signon_auth_session_process (SignonAuthSession *self
,const GHashTable *session_data
,const gchar *mechanism
,SignonAuthSessionProcessCb cb
,gpointer user_data
);
|
|
|
|
|
|
|
|
|
"state-changed"
signalvoid user_function (SignonAuthSession *signonauthsession, gint arg1, gchar *arg2, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |