Class: DBus::Authentication::Mechanism Private
- Inherits:
-
Object
- Object
- DBus::Authentication::Mechanism
- 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.
Base class of authentication mechanisms
Direct Known Subclasses
Instance Method Summary collapse
-
#call(challenge) ⇒ Array(Symbol,String)
abstract
Replies to server challenge, or sends an initial response if the challenge is ‘nil`.
-
#name ⇒ String
private
Uppercase mechanism name, as sent to the server.
Instance Method Details
#call(challenge) ⇒ Array(Symbol,String)
This method is abstract.
Replies to server challenge, or sends an initial response if the challenge is ‘nil`.
|
# File 'lib/dbus/auth.rb', line 23
|
#name ⇒ String
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.
Uppercase mechanism name, as sent to the server
34 35 36 |
# File 'lib/dbus/auth.rb', line 34 def name self.class.to_s.upcase.sub(/.*::/, "") end |