Method

AgsAuthenticationManagerlogin

since: 3.0.0

Declaration [src]

gboolean
ags_authentication_manager_login (
  AgsAuthenticationManager* authentication_manager,
  gchar* authentication_module,
  gchar* login,
  gchar* password,
  gchar** user_uuid,
  gchar** security_token
)

Description [src]

Login.

Available since: 3.0.0

Parameters

authentication_module

Type: gchar*

The authentication module.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
login

Type: gchar*

The login.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
password

Type: gchar*

The password.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
user_uuid

Type: gchar**

Return location of user UUID.

The argument will be set by the function.
The instance takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.
security_token

Type: gchar**

Return location of security token.

The argument will be set by the function.
The instance takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if login was successful, otherwise FALSE.