pub struct LastLoginMethodContext {
pub request: RequestHookContext,
pub body: Option<JsValue>,
pub route_path: String,
pub params: HashMap<String, String>,
pub response: Option<AuthResponse>,
pub new_session: Option<LastLoginMethodSession>,
}Expand description
Request context retained at the actual adapter or completed-response boundary.
Fields§
§request: RequestHookContext§body: Option<JsValue>Endpoint input at this callback phase; original HTTP bytes remain in request.body.
route_path: StringAdmitted endpoint template; original request.path remains the actual URI.
params: HashMap<String, String>§response: Option<AuthResponse>Present only at the completed-response boundary. Contains original returned bytes and accumulated cookies, including authentication failures.
new_session: Option<LastLoginMethodSession>Original trusted issuance snapshot; later user-row writes do not replace it.
Trait Implementations§
Source§impl Clone for LastLoginMethodContext
impl Clone for LastLoginMethodContext
Auto Trait Implementations§
impl Freeze for LastLoginMethodContext
impl RefUnwindSafe for LastLoginMethodContext
impl Send for LastLoginMethodContext
impl Sync for LastLoginMethodContext
impl Unpin for LastLoginMethodContext
impl UnsafeUnpin for LastLoginMethodContext
impl UnwindSafe for LastLoginMethodContext
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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