| Tizen Login Manager Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <tlm-auth-plugin.h> struct TlmAuthPluginInterface; gboolean tlm_auth_plugin_start_authentication (TlmAuthPlugin *self,const gchar *seat_id,const gchar *pam_service,const gchar *user_name,const gchar *password);
TlmAuthPlugin is an interface for implementing tlm authentication plugins.
Tlm authentication plugins provide authentication events: when they detect a user's intention to login, they issue a signal, containing user's credentials. Tlm acts upon this signal, by checking the credentials and starting a new session.
See example plugin implementation here: https://github.com/01org/tlm/tree/master/src/plugins/default and here: https://github.com/01org/tlm/tree/master/src/plugins/nfc.
struct TlmAuthPluginInterface {
GTypeInterface parent;
};
TlmAuthPluginInterface interface.
gboolean tlm_auth_plugin_start_authentication (TlmAuthPlugin *self,const gchar *seat_id,const gchar *pam_service,const gchar *user_name,const gchar *password);
This method should be used by plugin implementations to issue TlmAuthPlugin::authenticate signal.
|
a plugin instance |
|
seat id |
|
PAM service |
|
user name |
|
password |