Class: DBus::Authentication::External Private

Inherits:
Mechanism
  • Object
show all
Defined in:
lib/dbus/auth.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Class for ‘external’ type authentication. dbus.freedesktop.org/doc/dbus-specification.html#auth-mechanisms-external

Direct Known Subclasses

ExternalWithoutUid

Instance Method Summary collapse

Methods inherited from Mechanism

#name

Instance Method Details

#call(_challenge) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Performs the authentication.



51
52
53
# File 'lib/dbus/auth.rb', line 51

def call(_challenge)
  [:MechOk, Process.uid.to_s]
end