Class: RubyNative::Auth::StartController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- RubyNative::Auth::StartController
- Defined in:
- app/controllers/ruby_native/auth/start_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'app/controllers/ruby_native/auth/start_controller.rb', line 4 def show @provider = params[:provider] unless @provider.match?(/\A[a-z0-9_]+\z/) head :bad_request return end @callback_scheme = params[:callback_scheme] end |