summaryrefslogtreecommitdiffstats
path: root/API.txt
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2014-10-15 12:24:56 -0400
committerMartin Kosek <mkosek@redhat.com>2014-10-20 09:59:19 +0200
commit560606a9910b5f289cedbf341ea5a2cbd011aee2 (patch)
treed3ad3d31fb772792a92db1755746a294bbe9d7ec /API.txt
parente296137853547cf62e7dc15476449a3b2f8d5a06 (diff)
downloadfreeipa-560606a9910b5f289cedbf341ea5a2cbd011aee2.tar.gz
freeipa-560606a9910b5f289cedbf341ea5a2cbd011aee2.tar.xz
freeipa-560606a9910b5f289cedbf341ea5a2cbd011aee2.zip
Display token type when viewing token
When viewing a token from the CLI or UI, the type of the token should be displayed. https://fedorahosted.org/freeipa/ticket/4563 Reviewed-By: Martin Kosek <mkosek@redhat.com>
Diffstat (limited to 'API.txt')
-rw-r--r--API.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/API.txt b/API.txt
index ea9ac72b1..0000491d7 100644
--- a/API.txt
+++ b/API.txt
@@ -2614,7 +2614,7 @@ option: Flag('no_members', autofill=True, default=False, exclude='webui')
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')
-option: StrEnum('type', attribute=False, autofill=True, cli_name='type', default=u'totp', multivalue=False, required=False, values=(u'totp', u'hotp'))
+option: StrEnum('type', attribute=False, autofill=True, cli_name='type', default=u'totp', multivalue=False, required=False, values=(u'totp', u'hotp', u'TOTP', u'HOTP'))
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)
@@ -2673,7 +2673,7 @@ option: Flag('pkey_only?', autofill=True, default=False)
option: Flag('raw', autofill=True, cli_name='raw', default=False, exclude='webui')
option: Int('sizelimit?', autofill=False, minvalue=0)
option: Int('timelimit?', autofill=False, minvalue=0)
-option: StrEnum('type', attribute=False, autofill=False, cli_name='type', default=u'totp', multivalue=False, query=True, required=False, values=(u'totp', u'hotp'))
+option: StrEnum('type', attribute=False, autofill=False, cli_name='type', default=u'totp', multivalue=False, query=True, required=False, values=(u'totp', u'hotp', u'TOTP', u'HOTP'))
option: Str('version?', exclude='webui')
output: Output('count', <type 'int'>, None)
output: ListOfEntries('result', (<type 'list'>, <type 'tuple'>), Gettext('A list of LDAP entries', domain='ipa', localedir=None))