diff options
author | Adam Misnyovszki <amisnyov@redhat.com> | 2014-05-07 15:10:32 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-05-07 16:55:01 +0200 |
commit | 1ef91701e984c5c9717803a0d3c2e52c81386676 (patch) | |
tree | 3c65a68f43e732980b2472fd43f628ea5acd91db /install/ui/test/data/otptoken_add.json | |
parent | 86ff28fac8fdb81386ae0b84f352e3b2e8f5a396 (diff) | |
download | freeipa-1ef91701e984c5c9717803a0d3c2e52c81386676.tar.gz freeipa-1ef91701e984c5c9717803a0d3c2e52c81386676.tar.xz freeipa-1ef91701e984c5c9717803a0d3c2e52c81386676.zip |
webui OTP token test data added
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'install/ui/test/data/otptoken_add.json')
-rw-r--r-- | install/ui/test/data/otptoken_add.json | 43 |
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" + } +} |