pub struct RevokeUserSessions(/* private fields */);Expand description
POST /admin/revoke-user-sessions: needs session:revoke.
Trait Implementations§
Source§impl<D: Adapter> Endpoint<D> for RevokeUserSessions
impl<D: Adapter> Endpoint<D> for RevokeUserSessions
const METHOD: Method = Method::POST
const PATH: &'static str = "/admin/revoke-user-sessions"
type Access = MaybeAuthenticated
type Input = UserIdInput
type Output = Success
async fn call( &self, ctx: Ctx<D, MaybeAuthenticated>, input: UserIdInput, ) -> Result<Success, AuthError>
Auto Trait Implementations§
impl Forget for RevokeUserSessions
impl Freeze for RevokeUserSessions
impl Move for RevokeUserSessions
impl RefUnwindSafe for RevokeUserSessions
impl Send for RevokeUserSessions
impl Sync for RevokeUserSessions
impl Unpin for RevokeUserSessions
impl UnsafeUnpin for RevokeUserSessions
impl UnwindSafe for RevokeUserSessions
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