mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-08-08 20:18:07 -05:00
Create an OTP help topic
This allows the various OTP related commands to be grouped together in the IPA CLI documentation. Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
committed by
Petr Vobornik
parent
9baa93da1c
commit
b01767c69d
@@ -49,6 +49,8 @@ EXAMPLES:
|
||||
|
||||
register = Registry()
|
||||
|
||||
topic = ('otp', _('One time password commands'))
|
||||
|
||||
|
||||
@register()
|
||||
class otpconfig(LDAPObject):
|
||||
|
||||
@@ -61,6 +61,8 @@ EXAMPLES:
|
||||
|
||||
register = Registry()
|
||||
|
||||
topic = ('otp', _('One time password commands'))
|
||||
|
||||
TOKEN_TYPES = {
|
||||
u'totp': ['ipatokentotpclockoffset', 'ipatokentotptimestep'],
|
||||
u'hotp': ['ipatokenhotpcounter']
|
||||
|
||||
@@ -44,6 +44,9 @@ EXAMPLES:
|
||||
|
||||
register = Registry()
|
||||
|
||||
topic = ('otp', _('One time password commands'))
|
||||
|
||||
|
||||
@register()
|
||||
class otptoken_add_yubikey(Command):
|
||||
__doc__ = _('Add a new YubiKey OTP token.')
|
||||
|
||||
Reference in New Issue
Block a user