Skip to content

Commit

Permalink
fix: several minor fixes in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
atsareg committed Nov 19, 2024
1 parent 63fd7b9 commit 69aaf5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/DIRAC/FrameworkSystem/ConfigTemplate.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Services
# Section to describe TokenManager system
TokenManager
{
Port = 9180
Port = 9181
# Description of rules for access to methods
Authorization
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""TokenManager service is a HTTPs-exposed service responsible for token management, namely storing, updating,
"""TornadoTokenManager service is a HTTPs-exposed service responsible for token management, namely storing, updating,
requesting new tokens for DIRAC components that have the appropriate permissions.
.. note:: As a newly created service, it will not support the old DIPS protocol, which is living to its age.
.. literalinclude:: ../ConfigTemplate.cfg
:start-after: ##BEGIN TokenManager:
:end-before: ##END
Expand All @@ -17,7 +15,7 @@
:alt: https://dirac.readthedocs.io/en/integration/_images/TokenManager_getToken.png (source https://github.com/TaykYoku/DIRACIMGS/raw/main/TokenManagerService_getToken.ai)
The client has a mechanism for caching the received tokens.
This helps reduce the number of requests to both the service and the Identity Provider (IdP).
This helps reducing the number of requests to both the service and the Identity Provider (IdP).
If the client has a valid **access token** in the cache, it is used until it expires.
After that you need to update. The client can update it independently if on the server where it is in ``dirac.cfg``
Expand Down

0 comments on commit 69aaf5c

Please sign in to comment.