diff options
author | Nathaniel McCallum <npmccallum@redhat.com> | 2014-06-26 16:09:00 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-06-26 16:15:18 +0200 |
commit | 0d219379954d311f3cac0007386dc0e21c8ec432 (patch) | |
tree | b25427f698e78eb1da93adbbf774e37dd042282f /API.txt | |
parent | 2767fb584a4240bf3742144fd6d362053b76dadd (diff) | |
download | freeipa-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.txt | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) |