From 1ef91701e984c5c9717803a0d3c2e52c81386676 Mon Sep 17 00:00:00 2001 From: Adam Misnyovszki Date: Wed, 7 May 2014 15:10:32 +0200 Subject: webui OTP token test data added Reviewed-By: Petr Vobornik --- install/ui/test/data/otptoken_get_records.json | 57 ++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 install/ui/test/data/otptoken_get_records.json (limited to 'install/ui/test/data/otptoken_get_records.json') diff --git a/install/ui/test/data/otptoken_get_records.json b/install/ui/test/data/otptoken_get_records.json new file mode 100644 index 000000000..b3e746db5 --- /dev/null +++ b/install/ui/test/data/otptoken_get_records.json @@ -0,0 +1,57 @@ +{ + "error": null, + "id": null, + "result": { + "count": 1, + "results": [ + { + "error": null, + "result": { + "description": [ + "Description" + ], + "dn": "ipatokenuniqueid=10bd43b5-3204-4695-9225-91064f6c77b3,cn=otp,dc=example,dc=com", + "ipatokendisabled": [ + "TRUE" + ], + "ipatokenmodel": [ + "totp" + ], + "ipatokenotpalgorithm": [ + "sha1" + ], + "ipatokenotpdigits": [ + "6" + ], + "ipatokenotpkey": [ + { + "__base64__": "++R6gVcVPHzz3Q==" + } + ], + "ipatokenowner": [ + "admin" + ], + "ipatokentotpclockoffset": [ + "0" + ], + "ipatokentotptimestep": [ + "30" + ], + "ipatokenuniqueid": [ + "10bd43b5-3204-4695-9225-91064f6c77b3" + ], + "ipatokenvendor": [ + "FreeIPA" + ], + "objectclass": [ + "top", + "ipatokentotp", + "ipatoken" + ] + }, + "summary": null, + "value": "10bd43b5-3204-4695-9225-91064f6c77b3" + } + ] + } +} \ No newline at end of file -- cgit