Skip to main content

ExchangeFn

Type Alias ExchangeFn 

Source
type ExchangeFn = Arc<dyn Fn(String, Vec<String>) -> BoxFuture<'static, Result<AccessToken>> + Send + Sync>;
Expand description

Exchanges a client assertion (the projected service account token) for an AAD access token with the given scopes.

Aliased Typeยง

struct ExchangeFn { /* private fields */ }