Skip to main content

TokenSourceWatch

Type Alias TokenSourceWatch 

Source
pub type TokenSourceWatch = Receiver<Option<Result<String, TokenSourceError>>>;
Expand description

Authentication token plumbing for Config::with_auth_token_source: implement TokenSource to supply tokens that expire; StaticTokenSource wraps a fixed one. A watch receiver for token source updates.

Aliased Typeยง

pub struct TokenSourceWatch { /* private fields */ }