RefreshFunction

Type Alias RefreshFunction 

Source
pub type RefreshFunction = Box<dyn Fn(AuthServer) -> Pin<Box<dyn Future<Output = Result<String, Box<dyn Error + Send + Sync>>> + Send>> + Send + Sync>;
Expand description

A function that asynchronously refreshes a token.

Aliased Typeยง

pub struct RefreshFunction(/* private fields */);