Class: IAuthU::Authenticator::Open

Inherits:
Object
  • Object
show all
Defined in:
lib/iauthu/authenticator/base.rb

Overview

Simple Authenticator for allowing all users. Useful for testing.

Class Method Summary collapse

Class Method Details

.call(user, pass) ⇒ Object



65
66
67
68
69
# File 'lib/iauthu/authenticator/base.rb', line 65

def self.call(user,pass)
  { "display_name" => user,
     "username" => user,
     "credentials" => [] }
end