Skip to main content

JwtExt

Trait JwtExt 

Source
pub trait JwtExt: AuthInstance + Sized {
    // Provided method
    fn jwt<I>(&self) -> JwtApi<'_, Self>
       where Self: HasPlugin<Jwt, I> { ... }
}
Expand description

auth.jwt(): the server API. Only compiles on an Auth with Jwt registered.

Provided Methods§

Source

fn jwt<I>(&self) -> JwtApi<'_, Self>
where Self: HasPlugin<Jwt, I>,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§