Skip to main content

ProxyAuthExt

Trait ProxyAuthExt 

Source
pub trait ProxyAuthExt {
    // Required method
    fn new(minter: Arc<dyn TokenMinter>, port: u16) -> Self;
}
Expand description

ProxyAuth’s constructor on tokio’s clock.

Required Methods§

Source

fn new(minter: Arc<dyn TokenMinter>, port: u16) -> Self

A ProxyAuth with the validated defaults: ProxyAuth::with_clock on tokio’s clock.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§