summaryrefslogtreecommitdiffstats
path: root/src/auth0/auth0Authentication.graphql
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2018-01-30 12:39:31 -0500
committerWes Bos <wesbos@gmail.com>2018-01-30 12:39:31 -0500
commit0a1648bf47490b312169c531aeb51ef4725e8d2e (patch)
treea9c3dd7b50bc8dd563d9efeee3eeafaca1b3019a /src/auth0/auth0Authentication.graphql
parent0f1b9240bbd05b377e868faf78b89b509a3d7537 (diff)
Saying goodbye to graphcool
Diffstat (limited to 'src/auth0/auth0Authentication.graphql')
-rw-r--r--src/auth0/auth0Authentication.graphql8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/auth0/auth0Authentication.graphql b/src/auth0/auth0Authentication.graphql
new file mode 100644
index 0000000..1d4b135
--- /dev/null
+++ b/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