Class: HTAuth::Plaintext
Overview
the plaintext algorithm, which does absolutly nothing
Constant Summary
Constants inherited from Algorithm
Algorithm::DEFAULT, Algorithm::EXISTING, Algorithm::SALT_CHARS
Instance Method Summary collapse
- #encode(password) ⇒ Object
-
#initialize(params = {}) ⇒ Plaintext
constructor
ignore parameters.
- #prefix ⇒ Object
Methods inherited from Algorithm
algorithm_from_name, algorithms_from_field, #gen_salt, inherited, sub_klasses, #to_64
Constructor Details
#initialize(params = {}) ⇒ Plaintext
ignore parameters
8 9 |
# File 'lib/htauth/plaintext.rb', line 8 def initialize(params = {}) end |
Instance Method Details
#encode(password) ⇒ Object
15 16 17 |
# File 'lib/htauth/plaintext.rb', line 15 def encode(password) "#{password}" end |
#prefix ⇒ Object
11 12 13 |
# File 'lib/htauth/plaintext.rb', line 11 def prefix "" end |