diff options
author | John Estabrook <jestabro@vyos.io> | 2023-03-22 10:21:16 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-03-22 10:21:16 -0500 |
commit | 0e670fa038304709b4d748de7e7c7d13aef9a553 (patch) | |
tree | dea22f16e437baf3ab1d9fa0bb85cc5060212608 /src/services | |
parent | 31ca9c71fc09751b1114d104a8e09581f15c51d5 (diff) | |
download | vyos-1x-0e670fa038304709b4d748de7e7c7d13aef9a553.tar.gz vyos-1x-0e670fa038304709b4d748de7e7c7d13aef9a553.zip |
graphql: T5106: add auth_token client op
Diffstat (limited to 'src/services')
-rw-r--r-- | src/services/api/graphql/graphql/client_op/auth_token.graphql | 10 |
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 + } + } +} |