Move ValidatingTokenStorage from globus_sdk.experimental.globus_app to globus_sdk.tokenstorage.
With Stephen's recent work, this token storage no longer requires includes any GlobusApp-specific references. It can be used as an extensible class to validate token storages in any context.
Move globus_app errors into the validating_token_storage module space.
The errors defined here are all ValidatingTokenStorage errors (subclasses of TokenValidationError). They are referenced in GlobusApp to catch and retry behavior but are properly associated with the token storage itself.
Add docs for key ValidatingTokenStorage constructs to docs/authorization/token_storages.rst
Note
This PR does not intend to introduce any behavioral changes, only cosmetic/import location.
Changes
ValidatingTokenStorage
fromglobus_sdk.experimental.globus_app
toglobus_sdk.tokenstorage
.GlobusApp
-specific references. It can be used as an extensible class to validate token storages in any context.globus_app
errors into thevalidating_token_storage
module space.TokenValidationError
). They are referenced inGlobusApp
to catch and retry behavior but are properly associated with the token storage itself.ValidatingTokenStorage
constructs todocs/authorization/token_storages.rst
Note
This PR does not intend to introduce any behavioral changes, only cosmetic/import location.
If you observe any, please raise them as bugs.
📚 Documentation preview 📚: https://globus-sdk-python--1066.org.readthedocs.build/en/1066/