![]() |
![]() |
![]() |
libsignon-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
void (*SignonQueryMechanismCb) (SignonAuthService *auth_service
,const gchar *method
,gchar **mechanisms
,const GError *error
,gpointer user_data
); void (*SignonQueryMethodsCb) (SignonAuthService *auth_service
,gchar **methods
,const GError *error
,gpointer user_data
); SignonAuthService * signon_auth_service_new (); void signon_auth_service_query_mechanisms (SignonAuthService *auth_service
,const gchar *method
,SignonQueryMechanismCb cb
,gpointer user_data
); void signon_auth_service_query_methods (SignonAuthService *auth_service
,SignonQueryMethodsCb cb
,gpointer user_data
);
void (*SignonQueryMechanismCb) (SignonAuthService *auth_service
,const gchar *method
,gchar **mechanisms
,const GError *error
,gpointer user_data
);
Callback to be passed to signon_auth_service_query_mechanisms()
.
|
the SignonAuthService. |
|
the authentication method being inspected. |
|
list of available mechanisms. [transfer full][type GStrv] |
|
a GError if an error occurred, NULL otherwise. |
|
the user data that was passed when installing this callback. |
void (*SignonQueryMethodsCb) (SignonAuthService *auth_service
,gchar **methods
,const GError *error
,gpointer user_data
);
Callback to be passed to signon_auth_service_query_methods()
.
|
the SignonAuthService. |
|
list of available methods. [transfer full][type GStrv] |
|
a GError if an error occurred, NULL otherwise. |
|
the user data that was passed when installing this callback. |
SignonAuthService * signon_auth_service_new ();
Create a new SignonAuthService.
Returns : |
an instance of an SignonAuthService. |
void signon_auth_service_query_mechanisms (SignonAuthService *auth_service
,const gchar *method
,SignonQueryMechanismCb cb
,gpointer user_data
);
Lists all the available mechanisms.
|
the SignonAuthService. |
|
the name of the method whose mechanisms must be retrieved. |
|
callback to be invoked. [scope async] |
|
user data. |
void signon_auth_service_query_methods (SignonAuthService *auth_service
,SignonQueryMethodsCb cb
,gpointer user_data
);
Lists all the available methods.
|
the SignonAuthService. |
|
callback to be invoked. [scope async] |
|
user data. |