module Passage::Auth::PassPhrase::Helpers

Constants

CK

Public Instance Methods

auth_fetch() click to toggle source
# File lib/passage/auth/pass_phrase/pass_phrase.rb, line 13
def auth_fetch
  session[CK]
end
auth_setup(req) click to toggle source
# File lib/passage/auth/pass_phrase/pass_phrase.rb, line 9
def auth_setup(req) 
  session[CK] = req
end
auth_validate!(identity, trust_root) click to toggle source
# File lib/passage/auth/pass_phrase/pass_phrase.rb, line 17
def auth_validate!(identity, trust_root) 
  redirect '/login' unless session[:authorized]
end