@simpleview/sv-auth-client 6.23.2 → 6.23.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/prefixes/AuthPrefix.js +23 -0
package/package.json
CHANGED
|
@@ -744,6 +744,29 @@ class AuthPrefix {
|
|
|
744
744
|
return returnData;
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
+
async verify_password({ input, fields, context }) {
|
|
748
|
+
context = context || this._graphServer.context;
|
|
749
|
+
|
|
750
|
+
return query({
|
|
751
|
+
query: `
|
|
752
|
+
query($input: auth_verify_password_input!) {
|
|
753
|
+
auth {
|
|
754
|
+
verify_password(input: $input) {
|
|
755
|
+
${fields}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
`,
|
|
760
|
+
variables: {
|
|
761
|
+
input
|
|
762
|
+
},
|
|
763
|
+
url: this._graphUrl,
|
|
764
|
+
token: context.token,
|
|
765
|
+
key: "auth.verify_password",
|
|
766
|
+
clean: true
|
|
767
|
+
});
|
|
768
|
+
}
|
|
769
|
+
|
|
747
770
|
async update_totp({ input, fields, context }) {
|
|
748
771
|
context = context || this._graphServer.context;
|
|
749
772
|
|