Trait salvo_extra::jwt_auth::JwtAuthDepotExt[][src]

pub trait JwtAuthDepotExt {
    fn jwt_auth_token(&self) -> Option<&String>;
fn jwt_auth_claims<C>(&self) -> Option<&C>
    where
        C: DeserializeOwned + Sync + Send + 'static
;
fn jwt_auth_state(&self) -> JwtAuthState; }
Expand description

JwtAuthDepotExt

Required methods

get jwt auth token reference from depot.

get jwt auth claims from depot.

get jwt auth state from depot.

Implementations on Foreign Types

Implementors