class HTAuth::Plaintext
the plaintext algorithm, which does absolutly nothing
Constants
- ENTRY_REGEX
Public Class Methods
entry_matches?(entry)
click to toggle source
# File lib/htauth/plaintext.rb, line 9 def self.entry_matches?(entry) ENTRY_REGEX.match?(entry) end
handles?(password_entry)
click to toggle source
# File lib/htauth/plaintext.rb, line 13 def self.handles?(password_entry) false end
new(params = {})
click to toggle source
ignore parameters
# File lib/htauth/plaintext.rb, line 18 def initialize(params = {}) end
Public Instance Methods
encode(password)
click to toggle source
# File lib/htauth/plaintext.rb, line 21 def encode(password) "#{password}" end