Method: SignIn::TokenParamsValidator#perform

Defined in:
app/services/sign_in/token_params_validator.rb

#performObject



54
55
56
57
58
59
60
# File 'app/services/sign_in/token_params_validator.rb', line 54

def perform
  validate!
rescue ActiveModel::ValidationError => e
  log_error_and_raise(e.model.errors.full_messages.to_sentence)
rescue => e
  log_error_and_raise(e.message)
end