module TokenAuthenticatable
Private Instance Methods
authenticate_user()
click to toggle source
# File natural-backend/app/controllers/concerns/token_authenticatable.rb, line 21 def authenticate_user decode_authentication_command = DecodeAuthenticationCommand.call(request.headers) @current_user = decode_authentication_command.result raise NotAuthenticatedException unless @current_user end