Globus SDK TokenStorage Extension
Project description
Globus SDK TokenStorage
Th Globus SDK provides a convenient Pythonic interface to Globus APIs.
This library provides an interface for handling the storage and management of tokens acquired through the SDK more easily.
It takes tokens, stores and loads them to and from files, and additionally provides on_refresh callbacks which can be used in globus_sdk.RefreshTokenAuthorizer and globus_sdk.ClientCredentialsAuthorizer to keep those files up-to-date.
Intentional limitation: this library does not generate Authorizers or Clients, and is limited only to token and file management.
In the future, this may expand to include storage mechanisms which are not files.
Links
Full documentation: https://globus-sdk-tokenstorage.readthedocs.io/en/latest/
Changelog
0.4.1 (2021-09-29)
Allow use with SDK version 3
0.4.0 (2021-06-03)
Bugfix: Set umask to 0o177 when creating sqlite DB, so that it will only be readable and writable by the current user
Abstract base clases now inherit from abc.ABC
Rename abstract base classes to StorageAdapter and FileAdapter
SQLiteStorageAdapter is now a FileAdapter where filename is the db name
0.3.0 (2021-05-03)
Drop support for python versions < 3.6
0.2.1 (2019-11-12)
Add methods to SQLiteStorageAdapter for removing tokens and removing config
0.2.0 (2019-11-12)
Add SQLiteStorageAdapter which stores tokens and config under namespaces in a sqlite db
0.1.0 (2018-11-07)
Initial version of the library, implementing SimpleJSONStorageAdapter
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for globus-sdk-tokenstorage-0.4.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ee11ef28509f9bc9c98a8746c1efa36d380620ba2153a34d961d49e5e33ea2 |
|
MD5 | 4870bfad84a86dbf8bd1a45b96d87079 |
|
BLAKE2b-256 | 633f7968da0a60b9baf5b7919dc5378ea6c573b060975efab11d2a59c9d31717 |
Hashes for globus_sdk_tokenstorage-0.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff902ebcfbdc803f2e48356aeab25cc918a76e4ed48961dbbe3a38a237117f3a |
|
MD5 | c334593233a8fdbbbec795dc676a7532 |
|
BLAKE2b-256 | 8983a9d07115a7b630794c840778ede7a4060fca638ffae7079493992f1b872f |