pub struct UserJwtRequest {
pub user: AuthenticatedUser,
pub session_id: SessionId,
pub jti: AccessTokenId,
pub permissions: Vec<Permission>,
pub audience: Vec<JwtAudience>,
pub ttl: Duration,
pub client_id: Option<ClientId>,
pub purpose: Option<String>,
pub plugin_id: Option<PluginId>,
pub interaction: Option<TokenInteraction>,
pub browser_session: bool,
}Fields§
§user: AuthenticatedUser§session_id: SessionId§jti: AccessTokenId§permissions: Vec<Permission>§audience: Vec<JwtAudience>§ttl: Duration§client_id: Option<ClientId>§purpose: Option<String>§plugin_id: Option<PluginId>§interaction: Option<TokenInteraction>§browser_session: boolTrait Implementations§
Source§impl Clone for UserJwtRequest
impl Clone for UserJwtRequest
Auto Trait Implementations§
impl Freeze for UserJwtRequest
impl RefUnwindSafe for UserJwtRequest
impl Send for UserJwtRequest
impl Sync for UserJwtRequest
impl Unpin for UserJwtRequest
impl UnsafeUnpin for UserJwtRequest
impl UnwindSafe for UserJwtRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more