Skip to main content

AuthFuture

Type Alias AuthFuture 

Source
pub type AuthFuture<'a> = Pin<Box<dyn Future<Output = Result<Option<BearerToken>, AcdpError>> + Send + 'a>>;
Expand description

The boxed future an AuthProvider returns. Boxed because the trait is used as dyn AuthProvider and the MSRV (1.86) has no async fn in object-safe traits.

Aliased Typeยง

#[repr(transparent)]
pub struct AuthFuture<'a> { /* private fields */ }