Supplies the current bearer token for Client and Worker calls.
Dex asks for a token before each FlowService call and each pull stream opens.
A call may overlap another call, so implementations must support concurrent requests.
Throwing or rejecting fails the call locally without contacting Dex. The token travels
over the same plaintext connection as other calls; protect the network path.
A call deadline or cancellation ends the call even if token() remains pending.
Supplies the current bearer token for Client and Worker calls.
Dex asks for a token before each FlowService call and each pull stream opens. A call may overlap another call, so implementations must support concurrent requests. Throwing or rejecting fails the call locally without contacting Dex. The token travels over the same plaintext connection as other calls; protect the network path. A call deadline or cancellation ends the call even if token() remains pending.
Example