Module: Iam::AuthorizationProvider::Devise

Defined in:
lib/iam/authorization_provider/devise.rb

Instance Method Summary collapse

Instance Method Details

#current_account?(account) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/iam/authorization_provider/devise.rb', line 12

def current_account?()
  current_user == 
end

#log_in_account(account) ⇒ Object



4
5
6
# File 'lib/iam/authorization_provider/devise.rb', line 4

def ()
   Iam::Configuration[:account][:class].downcase, 
end

#log_out_account(account) ⇒ Object



8
9
10
# File 'lib/iam/authorization_provider/devise.rb', line 8

def ()
  sign_out 
end