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