Class: SignIn::ApplicationController
- Inherits:
-
ActionController::API
- Object
- ActionController::API
- SignIn::ApplicationController
- Includes:
- ActionController::Cookies, ExceptionHandling, Headers, Pundit::Authorization, SentryControllerLogging, SentryLogging, Authentication, Instrumentation, Traceable
- Defined in:
- app/controllers/sign_in/application_controller.rb
Direct Known Subclasses
Constant Summary
Constants included from ExceptionHandling
ExceptionHandling::SKIP_SENTRY_EXCEPTION_TYPES
Constants included from Authentication
SignIn::Authentication::BEARER_PATTERN
Instance Attribute Summary collapse
-
#current_user ⇒ Object
readonly
private
Returns the value of attribute current_user.
Instance Method Summary collapse
Methods included from Traceable
Methods included from SentryControllerLogging
#set_tags_and_extra_context, #tags_context, #user_context
Methods included from SentryLogging
#log_exception_to_sentry, #log_message_to_sentry, #non_nil_hash?, #normalize_level, #rails_logger, #set_sentry_metadata
Methods included from Headers
Methods included from ExceptionHandling
#render_errors, #report_mapped_exception, #report_original_exception, #skip_sentry_exception?, #skip_sentry_exception_types
Methods included from Instrumentation
#append_info_to_payload, #session
Methods included from Authentication
#access_token, #access_token_authenticate, #authenticate, #authenticate_access_token, #bearer_token, #cookie_access_token, #handle_authenticate_error, #load_user, #load_user_object, #scrub_bearer_token, #validate_request_ip
Instance Attribute Details
#current_user ⇒ Object (readonly, private)
Returns the value of attribute current_user.
24 25 26 |
# File 'app/controllers/sign_in/application_controller.rb', line 24 def current_user @current_user end |
Instance Method Details
#cors_preflight ⇒ Object
18 19 20 |
# File 'app/controllers/sign_in/application_controller.rb', line 18 def cors_preflight head(:ok) end |