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