Interface

AgsAuthentication

Description

interface Ags.Authentication : GObject.Object

No description available.

Prerequisite

In order to implement Authentication, your type must inherit fromGObject.

Implementations

Instance methods

ags_authentication_generate_token

Generate token.

since: 3.0.0

ags_authentication_get_authentication_module

Available authentication modules.

since: 3.0.0

ags_authentication_get_digest

Get digest of login.

since: 3.0.0

ags_authentication_is_session_active

Check session.

since: 3.0.0

ags_authentication_login

Login.

since: 3.0.0

ags_authentication_logout

Logout.

since: 3.0.0

Interface structure

struct AgsAuthenticationInterface {
  GTypeInterface ginterface;
  gchar** (* get_authentication_module) (
    AgsAuthentication* authentication
  );
  gboolean (* login) (
    AgsAuthentication* authentication,
    gchar* login,
    gchar* password,
    gchar** user_uuid,
    gchar** security_token,
    GError** error
  );
  gboolean (* logout) (
    AgsAuthentication* authentication,
    GObject* security_context,
    gchar* login,
    gchar* security_token,
    GError** error
  );
  gchar* (* generate_token) (
    AgsAuthentication* authentication,
    GError** error
  );
  gchar* (* get_digest) (
    AgsAuthentication* authentication,
    gchar* realm,
    gchar* login,
    gchar* security_token,
    GError** error
  );
  gboolean (* is_session_active) (
    AgsAuthentication* authentication,
    GObject* security_context,
    gchar* user_uuid,
    gchar* security_token,
    GError** error
  );
  
}

No description available.

Interface members
ginterface
GTypeInterface
 

No description available.

get_authentication_module
gchar** (* get_authentication_module) (
    AgsAuthentication* authentication
  )
 

No description available.

login
gboolean (* login) (
    AgsAuthentication* authentication,
    gchar* login,
    gchar* password,
    gchar** user_uuid,
    gchar** security_token,
    GError** error
  )
 

No description available.

logout
gboolean (* logout) (
    AgsAuthentication* authentication,
    GObject* security_context,
    gchar* login,
    gchar* security_token,
    GError** error
  )
 

No description available.

generate_token
gchar* (* generate_token) (
    AgsAuthentication* authentication,
    GError** error
  )
 

No description available.

get_digest
gchar* (* get_digest) (
    AgsAuthentication* authentication,
    gchar* realm,
    gchar* login,
    gchar* security_token,
    GError** error
  )
 

No description available.

is_session_active
gboolean (* is_session_active) (
    AgsAuthentication* authentication,
    GObject* security_context,
    gchar* user_uuid,
    gchar* security_token,
    GError** error
  )
 

No description available.

Virtual methods

Ags.Authentication.generate_token

Generate token.

since: 3.0.0

Ags.Authentication.get_authentication_module

Available authentication modules.

since: 3.0.0

Ags.Authentication.get_digest

Get digest of login.

since: 3.0.0

Ags.Authentication.is_session_active

Check session.

since: 3.0.0

Ags.Authentication.login

Login.

since: 3.0.0

Ags.Authentication.logout

Logout.

since: 3.0.0