proxystore.globus.storage¶
Globus Auth token storage.
get_token_storage_adapter
¶
get_token_storage_adapter(
filepath: str | None = None,
*,
namespace: str = "DEFAULT"
) -> SQLiteAdapter
Create token storage adapter.
Parameters:
-
filepath
(str | None
, default:None
) –Name of the database file. This is passed to SQLite so
:memory:
is a valid option for an in-memory database. If not provided, defaults to a file in the ProxyStore home directory (seehome_dir()
). -
namespace
(str
, default:'DEFAULT'
) –Optional namespace to use within the database. See
SQLiteAdapter
for more detauls.
Returns:
-
SQLiteAdapter
–Token storage adapter.