{"categories":[{"label":"Security","url":"https://skillfed.io/packages/category/security/2"}],"enrichment":{"capability":"Manages OAuth 2.0 access tokens in memory, automatically refreshing expired tokens and optionally reading them from files or environment variables.","skillfed_tags":["oauth2","token-management","legacy"],"use_cases":["Manage multiple service tokens with different scopes in a single application.","Local development and testing by injecting fixed tokens via environment variables.","Read pre-generated credentials from disk for applications running in restricted environments.","Automate token refresh for long-running processes that interact with OAuth 2.0-protected services."],"what_it_does":"stups-tokens is a Python library for managing OAuth 2.0 access tokens, keeping them in memory and automatically refreshing them when they expire. It abstracts away token lifecycle management\u2014you configure it with an OAuth endpoint and token scopes, then call tokens.get() to retrieve a valid token. The library handles expiration transparently, fetching a new token on the next call after expiry.\n\nIt supports three modes: fetching tokens from an OAuth 2.0 endpoint (the default), reading pre-generated tokens from files on disk, or injecting tokens via environment variables for local testing. This makes it useful for applications that need to authenticate with multiple OAuth-protected services without manually managing token refresh logic.","worth_installing":"No, unless maintaining legacy Python 2.7 or 3.4\u20133.5 code. The package is abandoned (last release 2017-01-04, last commit 2019-03-19) and targets end-of-life Python versions. For new projects, use a modern OAuth library or your framework's built-in token handling. For existing deployments, evaluate whether migration is feasible."},"id":"stups-tokens","links":{"html":"https://skillfed.io/packages/stups-tokens","md":"https://skillfed.io/packages/stups-tokens.md","pypi":"https://pypi.org/project/stups-tokens/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2017-01-04","license_spdx":null,"license_treatment":"permissive","name":"stups-tokens","python_support":"unspecified","summary":"Python library to manage OAuth access tokens"},"popularity":{"monthly_downloads":144229,"position":11158,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.19"}
