summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2014-06-26 16:09:00 +0200
committerMartin Kosek <mkosek@redhat.com>2014-06-26 16:15:18 +0200
commit0d219379954d311f3cac0007386dc0e21c8ec432 (patch)
treeb25427f698e78eb1da93adbbf774e37dd042282f /API.txt
parent2767fb584a4240bf3742144fd6d362053b76dadd (diff)
downloadfreeipa-0d219379954d311f3cac0007386dc0e21c8ec432.tar.gz
freeipa-0d219379954d311f3cac0007386dc0e21c8ec432.tar.xz
freeipa-0d219379954d311f3cac0007386dc0e21c8ec432.zip
Add otptoken-sync command
This command calls the token sync HTTP POST call in the server providing the CLI interface to synchronization. https://fedorahosted.org/freeipa/ticket/4260 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/API.txt b/API.txt
index a7d11b5b3..69ca2277e 100644
--- a/API.txt
+++ b/API.txt
@@ -2420,6 +2420,15 @@ option: Str('version?', exclude='webui')
output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDAP entry', domain='ipa', localedir=None))
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: PrimaryKey('value', None, None)
+command: otptoken_sync
+args: 1,5,1
+arg: Str('token?')
+option: Password('first_code', confirm=False)
+option: Password('password', confirm=False)
+option: Password('second_code', confirm=False)
+option: Str('user')
+option: Str('version?', exclude='webui')
+output: Output('result', None, None)
command: passwd
args: 3,2,3
arg: Str('principal', autofill=True, cli_name='user', primary_key=True)