Skip to content

CredentialsProvider

Part of Configuration & authentication in the Python API reference.

Related guidance: getting-started/configuration, getting-started/authentication, security/credentials.

Runnable examples: preflight.py.

from picogrid_ecn_client import CredentialsProvider

A cooperative asynchronous callable supplying one username-token pair.

CredentialsProvider = Callable[[], Coroutine[Any, Any, tuple[str, str]]]

Source · auth.py

Version 0.2.0 · branch main