summaryrefslogtreecommitdiffstats
path: root/install/ui/test/data/otptoken_add.json
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/test/data/otptoken_add.json')
-rw-r--r--install/ui/test/data/otptoken_add.json43
1 files changed, 43 insertions, 0 deletions
diff --git a/install/ui/test/data/otptoken_add.json b/install/ui/test/data/otptoken_add.json
new file mode 100644
index 000000000..c52fc1503
--- /dev/null
+++ b/install/ui/test/data/otptoken_add.json
@@ -0,0 +1,43 @@
+{
+ "error": null,
+ "id": null,
+ "result": {
+ "result": {
+ "dn": "ipatokenuniqueid=10bd43b5-3204-4695-9225-91064f6c77b3,cn=otp,dc=example,dc=com",
+ "ipatokenmodel": [
+ "totp"
+ ],
+ "ipatokenotpalgorithm": [
+ "sha1"
+ ],
+ "ipatokenotpdigits": [
+ "6"
+ ],
+ "ipatokenotpkey": [
+ {
+ "__base64__": "2TUYXOVTaZf/Og=="
+ }
+ ],
+ "ipatokentotpclockoffset": [
+ "0"
+ ],
+ "ipatokentotptimestep": [
+ "30"
+ ],
+ "ipatokenuniqueid": [
+ "footoken"
+ ],
+ "ipatokenvendor": [
+ "FreeIPA"
+ ],
+ "objectclass": [
+ "top",
+ "ipatokentotp",
+ "ipatoken"
+ ],
+ "uri": "otpauth://totp/EXAMPLE.COM:10bd43b5-3204-4695-9225-91064f6c77b3?digits=6&secret=3E2RQXHFKNUZP7Z2&period=30&algorithm=sha1&issuer=EXAMPLE.COM"
+ },
+ "summary": "Added OTP token \"10bd43b5-3204-4695-9225-91064f6c77b3\"",
+ "value": "10bd43b5-3204-4695-9225-91064f6c77b3"
+ }
+}