summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-03-22 10:21:16 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-03-22 10:21:16 -0500
commit0e670fa038304709b4d748de7e7c7d13aef9a553 (patch)
treedea22f16e437baf3ab1d9fa0bb85cc5060212608
parent31ca9c71fc09751b1114d104a8e09581f15c51d5 (diff)
downloadvyos-1x-0e670fa038304709b4d748de7e7c7d13aef9a553.tar.gz
vyos-1x-0e670fa038304709b4d748de7e7c7d13aef9a553.zip
graphql: T5106: add auth_token client op
-rw-r--r--src/services/api/graphql/graphql/client_op/auth_token.graphql10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/services/api/graphql/graphql/client_op/auth_token.graphql b/src/services/api/graphql/graphql/client_op/auth_token.graphql
new file mode 100644
index 000000000..5ea2ecc1c
--- /dev/null
+++ b/src/services/api/graphql/graphql/client_op/auth_token.graphql
@@ -0,0 +1,10 @@
+
+mutation AuthToken ($username: String!, $password: String!) {
+ AuthToken (data: { username: $username, password: $password }) {
+ success
+ errors
+ data {
+ result
+ }
+ }
+}