Module: AuthlogicConnect::Common::State

Included in:
Variables
Defined in:
lib/authlogic_connect/common/state.rb

Overview

This class holds query/state variables common to oauth and openid

Instance Method Summary collapse

Instance Method Details

#auth_params?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/authlogic_connect/common/state.rb', line 8

def auth_params?
  !auth_params.blank?
end

#auth_session?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/authlogic_connect/common/state.rb', line 4

def auth_session?
  !auth_session.blank?
end

#is_auth_session?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/authlogic_connect/common/state.rb', line 12

def is_auth_session?
  self.is_a?(Authlogic::Session::Base)
end