StaticTokenAuth
Fixed bearer token that never renews.
Fixed bearer token that never renews.
Functions
constructor__init__(token) -> NoneInitialize the auth flow.
paramtokenstrBearer token attached to every request.
Returns
Nonefuncasync_auth_flow(request) -> AsyncGenerator[httpx.Request, httpx.Response]Attach the fixed bearer token to the request.
paramrequesthttpx.RequestOutgoing HTTP request.
Returns
collections.abc.AsyncGenerator[httpx.httpx.Request, httpx.httpx.Response]