-
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.
* TokenStorage and implementations * ValidatingTokenStorage * handle missing namespace on read * renaming from review
- Loading branch information
Showing
16 changed files
with
1,249 additions
and
141 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
changelog.d/20240425_090230_aaschaer_storage_adapter_v2.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,14 @@ | ||
Added | ||
~~~~~ | ||
|
||
- Added ``TokenStorage`` to experimental along with ``FileTokenStorage``, | ||
``JSONTokenStorage``, ``MemoryTokenStorage`` and ``SQLiteTokenStorage`` which | ||
implement it. ``TokenStorage`` expands the functionality of ``StorageAdapter`` | ||
but is not fully backwards compatible. (:pr:`NUMBER`) | ||
|
||
Changed | ||
~~~~~~~ | ||
|
||
- The experimental class ``ValidatingStorageAdapater`` has been renamed to | ||
``ValidatingTokenStorage`` and now implements ``TokenStorage`` instead of | ||
``StorageAdapter`` (:pr:`NUMBER`) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
from ._identifiable_oauth_token_response import ( | ||
IdentifiedOAuthTokenResponse, | ||
expand_id_token, | ||
) | ||
from ._validating_storage_adapater import ValidatingStorageAdapter | ||
from ._validating_token_storage import ValidatingTokenStorage | ||
|
||
__all__ = [ | ||
"IdentifiedOAuthTokenResponse", | ||
"expand_id_token", | ||
"ValidatingStorageAdapter", | ||
"ValidatingTokenStorage", | ||
] |
45 changes: 0 additions & 45 deletions
45
src/globus_sdk/experimental/globus_app/_identifiable_oauth_token_response.py
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from globus_sdk.experimental.tokenstorage.base import FileTokenStorage, TokenStorage | ||
from globus_sdk.experimental.tokenstorage.json import JSONTokenStorage | ||
from globus_sdk.experimental.tokenstorage.memory import MemoryTokenStorage | ||
from globus_sdk.experimental.tokenstorage.sqlite import SQLiteTokenStorage | ||
from globus_sdk.experimental.tokenstorage.token_data import TokenData | ||
|
||
__all__ = ( | ||
"JSONTokenStorage", | ||
"SQLiteTokenStorage", | ||
"TokenStorage", | ||
"FileTokenStorage", | ||
"MemoryTokenStorage", | ||
"TokenData", | ||
) |
Oops, something went wrong.