Credentials
nyckel.Credentials
API credentials for Nyckel. Handles renewal of OAuth2 bearer token.
Example:
credentials = Credentials(client_id="...", client_secret="...")
session = credentials.get_session()
my_functions = session.get("https://www.nyckel.com/v1/functions")
Source code in src/nyckel/auth.py
__init__
Source code in src/nyckel/auth.py
get_session
Returns a requests session with active bearer token header.