oauth2cli Package

Modules

assertion
authcode

A one-stop helper for desktop app to acquire an authorization code.

It starts a web server to listen redirect_uri, waiting for auth code. It optionally opens a browser window to guide a human user to manually login. After obtaining an auth code, the web server will automatically shut down.

http

This module documents the minimal http behaviors used by this package.

Its interface is influenced by, and similar to a subset of some popular, real-world http libraries, such as requests, aiohttp and httpx.

oauth2

This OAuth2 client implementation aims to be spec-compliant, and generic.

oidc