summaryrefslogtreecommitdiffstats
path: root/graphcool/src/auth0/auth0Authentication.graphql
diff options
context:
space:
mode:
authorWes Bos <wesbos@gmail.com>2017-10-27 13:24:41 -0400
committerWes Bos <wesbos@gmail.com>2017-10-27 13:24:41 -0400
commit0f1b9240bbd05b377e868faf78b89b509a3d7537 (patch)
tree1974b4d5a59f1843f64789b5536c32606a097ba0 /graphcool/src/auth0/auth0Authentication.graphql
parentacdfa2840f867e686471a8e9ac3f29353fab7dd1 (diff)
ayeee
Diffstat (limited to 'graphcool/src/auth0/auth0Authentication.graphql')
-rw-r--r--graphcool/src/auth0/auth0Authentication.graphql8
1 files changed, 8 insertions, 0 deletions
diff --git a/graphcool/src/auth0/auth0Authentication.graphql b/graphcool/src/auth0/auth0Authentication.graphql
new file mode 100644
index 0000000..823a71b
--- /dev/null
+++ b/graphcool/src/auth0/auth0Authentication.graphql
@@ -0,0 +1,8 @@
+type AuthenticateUserPayload {
+ id: String!
+ token: String!
+}
+
+extend type Mutation {
+ authenticateUser(accessToken: String!): AuthenticateUserPayload
+}