Struct kanidm_proto::oauth2::TokenRevokeRequest
source · pub struct TokenRevokeRequest {
pub token: String,
pub token_type_hint: Option<String>,
}
Expand description
Request revocation of an Access or Refresh token. On success the response is OK 200 with no body.
Fields§
§token: String
§token_type_hint: Option<String>
Not required for Kanidm. https://datatracker.ietf.org/doc/html/rfc7009#section-4.1.2
Trait Implementations§
source§impl Debug for TokenRevokeRequest
impl Debug for TokenRevokeRequest
source§impl<'de> Deserialize<'de> for TokenRevokeRequest
impl<'de> Deserialize<'de> for TokenRevokeRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TokenRevokeRequest
impl RefUnwindSafe for TokenRevokeRequest
impl Send for TokenRevokeRequest
impl Sync for TokenRevokeRequest
impl Unpin for TokenRevokeRequest
impl UnwindSafe for TokenRevokeRequest
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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