Fix doc build warnings
The documentation build was printing warnigs like doc/source/auth-totp.rst:111: SEVERE: Title level inconsistent: Tokens ====== This is because subtitle is being used incorrectly, see[1]. The subtitles are changed to section headers instead. [1] http://docutils.sourceforge.net/docs/user/rst/quickstart.html#document-title-subtitle Also corrected these warnings: keystone/tests/unit/test_v3_assignment.py:docstring of keystone.tests.unit.test_v3_assignment.ImpliedRolesTests. test_list_role_assignments_with_implied_roles:9: ERROR: Unexpected indentation. keystone/keystone/tests/unit/test_v3_assignment.py:docstring of keystone.tests.unit.test_v3_assignment.ImpliedRolesTests. test_list_role_assignments_with_implied_roles:10: WARNING: Block quote ends without a blank line; unexpected unindent. Change-Id: Ib88dbc7a31a6aed8048966574ac998b5332862c7
This commit is contained in:
parent
8c4a19300a
commit
9bfd0058a3
@ -15,9 +15,8 @@
|
||||
Time-based One-time Password (TOTP)
|
||||
===================================
|
||||
|
||||
----------------
|
||||
Configuring TOTP
|
||||
----------------
|
||||
================
|
||||
|
||||
TOTP is not enabled in Keystone by default. To enable it add the ``totp``
|
||||
authentication method to the ``[auth]`` section in ``keystone.conf``:
|
||||
@ -101,18 +100,14 @@ In Google Authenticator app click on 'Set up account' and then click on 'Scan
|
||||
a barcode', and then scan the 'totp.png' image. This should create a new TOTP
|
||||
entry in the application.
|
||||
|
||||
----------------------
|
||||
Authenticate with TOTP
|
||||
----------------------
|
||||
======================
|
||||
|
||||
Google Authenticator will generate a 6 digit PIN (passcode) every few seconds.
|
||||
Use the passcode and your user ID to authenticate using the ``totp`` method.
|
||||
|
||||
Tokens
|
||||
======
|
||||
|
||||
Default scope
|
||||
-------------
|
||||
------
|
||||
|
||||
Get a token with default scope (may be unscoped) using totp:
|
||||
|
||||
|
@ -2542,6 +2542,7 @@ class ImpliedRolesTests(test_v3.RestfulTestCase, test_v3.AssignmentTestMixin,
|
||||
"""Call ``GET /role_assignments`` with implied role grant.
|
||||
|
||||
Test Plan:
|
||||
|
||||
- Create a domain with a user and a project
|
||||
- Create 3 roles
|
||||
- Role 0 implies role 1 and role 1 implies role 2
|
||||
|
Loading…
Reference in New Issue
Block a user