summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2014-11-06 15:30:13 -0500
committerPetr Vobornik <pvoborni@redhat.com>2014-11-19 14:26:00 +0100
commit3c900ba7a8d98a72ff4e040b688fe3213c722a64 (patch)
tree9c483cfae1a287662f41e9d51263c77746df7b85 /API.txt
parentd2ffd176176e20860998d29ede4e9bd65f398bf2 (diff)
downloadfreeipa-3c900ba7a8d98a72ff4e040b688fe3213c722a64.tar.gz
freeipa-3c900ba7a8d98a72ff4e040b688fe3213c722a64.tar.xz
freeipa-3c900ba7a8d98a72ff4e040b688fe3213c722a64.zip
Enable QR code display by default in otptoken-add
This is possible because python-qrcode's output now fits in a standard terminal. Also, update ipa-otp-import and otptoken-add-yubikey to disable QR code output as it doesn't make sense in these contexts. https://fedorahosted.org/freeipa/ticket/4703 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/API.txt b/API.txt
index 0000491d7..2a63f1e23 100644
--- a/API.txt
+++ b/API.txt
@@ -2592,7 +2592,7 @@ output: Entry('result', <type 'dict'>, Gettext('A dictionary representing an LDA
output: Output('summary', (<type 'unicode'>, <type 'NoneType'>), None)
output: PrimaryKey('value', None, None)
command: otptoken_add
-args: 1,22,3
+args: 1,23,3
arg: Str('ipatokenuniqueid', attribute=True, cli_name='id', multivalue=False, primary_key=True, required=False)
option: Str('addattr*', cli_name='addattr', exclude='webui')
option: Flag('all', autofill=True, cli_name='all', default=False, exclude='webui')
@@ -2611,6 +2611,7 @@ option: Int('ipatokentotpclockoffset', attribute=True, autofill=True, cli_name='
option: Int('ipatokentotptimestep', attribute=True, autofill=True, cli_name='interval', default=30, minvalue=5, multivalue=False, required=False)
option: Str('ipatokenvendor', attribute=True, cli_name='vendor', multivalue=False, required=False)
option: Flag('no_members', autofill=True, default=False, exclude='webui')
+option: Flag('no_qrcode', autofill=True, default=False)
option: Flag('qrcode?', autofill=True, default=False)
option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui')
option: Str('setattr*', cli_name='setattr', exclude='webui')