summaryrefslogtreecommitdiffstats
path: root/frontend/src/auth0/auth0Authentication.graphql
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-01-30 12:41:01 -0500
committerWes Bos <wesbos@gmail.com>2018-01-30 12:41:01 -0500
commitcd0b07b3adb36fb5ec098f9e511ab45d774fee7b (patch)
treea203e5010219ccea1acc6bbd2c0a4bcfa0a78615 /frontend/src/auth0/auth0Authentication.graphql
parent0a1648bf47490b312169c531aeb51ef4725e8d2e (diff)
Move to Prisma Backend
Diffstat (limited to 'frontend/src/auth0/auth0Authentication.graphql')
-rw-r--r--frontend/src/auth0/auth0Authentication.graphql8
1 files changed, 8 insertions, 0 deletions
diff --git a/frontend/src/auth0/auth0Authentication.graphql b/frontend/src/auth0/auth0Authentication.graphql
new file mode 100644
index 0000000..1d4b135
--- /dev/null
+++ b/frontend/src/auth0/auth0Authentication.graphql
@@ -0,0 +1,8 @@
+type AuthenticateUserPayload {
+ id: String!
+ token: String!
+}
+
+extend type Mutation {
+ authenticateUser(accessToken: String!): AuthenticateUserPayload!
+} \ No newline at end of file