Class: SignIn::ServiceAccountApplicationController

Inherits:
ActionController::API
  • Object
show all
Includes:
ExceptionHandling, Headers, Pundit::Authorization, SentryControllerLogging, SentryLogging, Authentication, ServiceAccountAuthentication, Traceable
Defined in:
app/controllers/sign_in/service_account_application_controller.rb

Constant Summary

Constants included from ExceptionHandling

ExceptionHandling::SKIP_SENTRY_EXCEPTION_TYPES

Constants included from ServiceAccountAuthentication

SignIn::ServiceAccountAuthentication::BEARER_PATTERN

Constants included from Authentication

Authentication::BEARER_PATTERN

Instance Attribute Summary collapse

Method Summary

Methods included from Traceable

#set_trace_tags

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

#set_app_info_headers

Methods included from ExceptionHandling

#render_errors, #report_mapped_exception, #report_original_exception, #skip_sentry_exception?, #skip_sentry_exception_types

Methods included from ServiceAccountAuthentication

#authenticate_service_account, #authenticate_service_account_access_token, #bearer_token, #handle_authenticate_error, #validate_requested_scope

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_userObject (readonly, private)

Returns the value of attribute current_user.



19
20
21
# File 'app/controllers/sign_in/service_account_application_controller.rb', line 19

def current_user
  @current_user
end