Trait rjwt::Resolve [−][src]
Associated Types
type Host: FromStr + Send + Sync
[src]
type ActorId: DeserializeOwned + PartialEq + Send + Sync
[src]
type Claims: DeserializeOwned + Send + Sync
[src]
Required methods
#[must_use]fn resolve<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
host: &'life1 Self::Host,
actor_id: &'life2 Self::ActorId
) -> Pin<Box<dyn Future<Output = Result<Actor<Self::ActorId>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
host: &'life1 Self::Host,
actor_id: &'life2 Self::ActorId
) -> Pin<Box<dyn Future<Output = Result<Actor<Self::ActorId>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Provided methods
#[must_use]fn validate<'life0, 'life1, 'async_trait>(
&'life0 self,
encoded: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Token<Self::ActorId, Self::Claims>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
[src]
&'life0 self,
encoded: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Token<Self::ActorId, Self::Claims>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,