summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-02-21 21:03:00 -0600
committerHombreLaser <sebastian-440@live.com>2023-02-21 21:03:00 -0600
commit80b7e4fe942638eb69a686e06e3ca99c06791da6 (patch)
tree69ba2bd7e2efe6ccb9895f529fe16e60c5612ffa /app
parent01eff97bd1a2d2e23e6b894f4b19a57ba6b5d10d (diff)
Añade controlador de autenticaciones
Diffstat (limited to 'app')
-rw-r--r--app/controllers/api/authentications_controller.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/controllers/api/authentications_controller.rb b/app/controllers/api/authentications_controller.rb
new file mode 100644
index 0000000..90f04d8
--- /dev/null
+++ b/app/controllers/api/authentications_controller.rb
@@ -0,0 +1,18 @@
+# frozen_string_literal: true
+
+module Api
+ # The controller that handles authentications.
+ class AuthenticationsController < ApplicationController
+ def create; end
+
+ def destroy; end
+
+ def refresh; end
+
+ private
+
+ def permitted_params
+ params.require(:user_account).permit(:email, :password)
+ end
+ end
+end \ No newline at end of file