Class: HTAuth::Plaintext
Overview
Internal: the plaintext algorithm, which does absolutly nothing
Constant Summary
Constants inherited from Algorithm
Algorithm::CRYPT, Algorithm::DEFAULT, Algorithm::EXISTING, Algorithm::MD5, Algorithm::PLAINTEXT, Algorithm::SALT_CHARS, Algorithm::SHA1
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, secure_compare, sub_klasses, #to_64
Constructor Details
#initialize(params = {}) ⇒ Plaintext
ignore parameters
7 8 |
# File 'lib/htauth/plaintext.rb', line 7 def initialize(params = {}) end |
Instance Method Details
#encode(password) ⇒ Object
14 15 16 |
# File 'lib/htauth/plaintext.rb', line 14 def encode(password) "#{password}" end |
#prefix ⇒ Object
10 11 12 |
# File 'lib/htauth/plaintext.rb', line 10 def prefix "" end |