identity_verify_reply,
cb_data);
break;
- case SIGNON_VERIFY_USER:
- SSO_Identity_verify_user_async (priv->proxy,
- operation_data->params,
- identity_verify_reply,
- cb_data);
- break;
default: g_critical ("Wrong operation code");
};
}
operation_data);
}
-/**
- * signon_identity_verify_user:
- * @self: the #SignonIdentity.
- * @username: the username to be verified.
- * @cb: (scope async): callback.
- * @user_data: user_data.
- *
- * Verifies the given username.
- */
-void signon_identity_verify_user(SignonIdentity *self,
- const gchar *username,
- SignonIdentityVerifyCb cb,
- gpointer user_data)
-{
- identity_verify_data (self,
- username,
- SIGNON_VERIFY_USER,
- cb,
- user_data);
-}
-
/**
* signon_identity_verify_secret:
* @self: the #SignonIdentity.
const GError *error,
gpointer user_data);
-void signon_identity_verify_user(SignonIdentity *self,
- const gchar *username,
- SignonIdentityVerifyCb cb,
- gpointer user_data);
-
void signon_identity_verify_secret(SignonIdentity *self,
const gchar *secret,
SignonIdentityVerifyCb cb,
g_main_loop_run (main_loop);
- signon_identity_verify_user(idty,
- username,
- identity_verify_username_cb,
- main_loop);
-
- g_main_loop_run (main_loop);
-
g_hash_table_destroy (methods);
g_object_unref (idty);
end_test ();