-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0bc9254
commit 3b18642
Showing
7 changed files
with
226 additions
and
54 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
changelog.d/20240728_220953_derek_client_based_token_caching.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
Changed | ||
~~~~~~~ | ||
|
||
- Changed the experimental ``GlobusApp`` class in the following way (:pr:`NUMBER`): | ||
|
||
- ``app_name`` is no longer required (defaults to "DEFAULT") | ||
|
||
- Token storage now defaults to including the client id in the path. | ||
|
||
- Old (unix) : ``~/.globus/app/{app_name}/tokens.json`` | ||
|
||
- New (unix): ``~/.globus/app/{client_id}/{app_name}/tokens.json`` | ||
|
||
- Old (win): ``~\AppData\Local\globus\app\{app_name}\tokens.json`` | ||
|
||
- New (win): ``~\AppData\Local\globus\app\{client_id}\{app_name}\tokens.json`` | ||
|
||
- ``GlobusAppConfig.token_storage`` now accepts shorthand string references: | ||
``"json"`` to use a ``JSONTokenStorage``, ``"sqlite"`` to use a | ||
``SQLiteTokenStorage`` and ``"memory"`` to use a ``MemoryTokenStorage``. | ||
|
||
- ``GlobusAppConfig.token_storage`` also now accepts a ``TokenStorageProvidable``, | ||
a class with a ``for_globus_app(...) -> TokenStorage`` class method. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.