pub struct AccessTokenIntrospectResponse {
pub active: bool,
pub scope: Option<String>,
pub client_id: Option<String>,
pub username: Option<String>,
pub token_type: Option<AccessTokenType>,
pub exp: Option<i64>,
pub iat: Option<i64>,
pub nbf: Option<i64>,
pub sub: Option<String>,
pub aud: Option<String>,
pub iss: Option<String>,
pub jti: Option<String>,
}
Expand description
Response to an introspection request. If the token is inactive or revoked, only
active
will be set to the value of false
.
Fields§
§active: bool
§scope: Option<String>
§client_id: Option<String>
§username: Option<String>
§token_type: Option<AccessTokenType>
§exp: Option<i64>
§iat: Option<i64>
§nbf: Option<i64>
§sub: Option<String>
§aud: Option<String>
§iss: Option<String>
§jti: Option<String>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for AccessTokenIntrospectResponse
impl<'de> Deserialize<'de> for AccessTokenIntrospectResponse
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 AccessTokenIntrospectResponse
impl RefUnwindSafe for AccessTokenIntrospectResponse
impl Send for AccessTokenIntrospectResponse
impl Sync for AccessTokenIntrospectResponse
impl Unpin for AccessTokenIntrospectResponse
impl UnwindSafe for AccessTokenIntrospectResponse
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