Class: OmniAuth::Strategies::Standalone
- Inherits:
-
Object
- Object
- OmniAuth::Strategies::Standalone
show all
- Includes:
- OmniAuth::Strategy
- Defined in:
- lib/omniauth/strategies/standalone.rb,
lib/omniauth/strategies/standalone/form.rb
Defined Under Namespace
Classes: Form, SignInForm, SignUpForm
Constant Summary
collapse
- AuthenticationError =
Class.new(RuntimeError)
Instance Method Summary
collapse
Instance Method Details
#callback_phase ⇒ Object
29
30
31
32
|
# File 'lib/omniauth/strategies/standalone.rb', line 29
def callback_phase
try_to_register
super
end
|
#request_phase ⇒ Object
25
26
27
|
# File 'lib/omniauth/strategies/standalone.rb', line 25
def request_phase
sign_up? ? build_sign_up_form : build_sign_in_form
end
|