Sha256: 5317d1e3a0a270427cc047f5e61ac8b5f991418a7b882cab78d953c753434a75
Contents?: true
Size: 588 Bytes
Versions: 13
Compression:
Stored size: 588 Bytes
Contents
# This class holds query/state variables common to oauth and openid module AuthlogicConnect::Common::State def auth_controller? !auth_controller.blank? end def auth_params? auth_controller? && !auth_params.blank? end def auth_session? !auth_session.blank? end def is_auth_session? self.is_a?(Authlogic::Session::Base) end def start_authentication? start_oauth? || start_openid? end def validate_password_with_oauth? !using_openid? && super end def validate_password_with_openid? !using_oauth? && super end end
Version data entries
13 entries across 13 versions & 3 rubygems