summaryrefslogtreecommitdiffstats
path: root/graphcool/src/auth0/auth0Authentication.graphql
diff options
context:
space:
mode:
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
+}