Class

AstalGreetGreeter

Description

class AstalGreet.Greeter : GObject.Object
{
  /* No available fields */
}

Object that allows login flows to be implemented using signals.

Ancestors

Constructors

astal_greet_greeter_new
No description available.

Instance methods

astal_greet_greeter_create_session

Create a session and start the authentication flow.

astal_greet_greeter_post_auth

Respond to AstalGreetGreeter::visible-request or AstalGreetGreeter::secret-request.

astal_greet_greeter_start_session

Start the session after AstalGreetGreeter::authenticated is emitted. The greeter process must terminate after this method yields in order for the session to start.

astal_greet_greeter_start_session_finish
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

AstalGreet.Greeter::visible-request

Respond with astal_greet_greeter_post_auth(). Emitted when input is required from the user. The response is not secret and can be visible.

AstalGreet.Greeter::secret-request

Respond with astal_greet_greeter_post_auth(). Emitted when input is required from the user. The response is secret and should be invisible.

AstalGreet.Greeter::info-message

Information that should be shown to the user.

AstalGreet.Greeter::error-message

Error message that should be shown to the user.

AstalGreet.Greeter::cancelled

Emitted when the session is cancelled due to an error. The login can be restarted with astal_greet_greeter_create_session().

AstalGreet.Greeter::authenticated

Emitted on successful authentication to indicate that the session can be started using astal_greet_greeter_start_session().

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AstalGreetGreeterClass {
  /* no available fields */
}

No description available.