Struct kanidm_proto::oauth2::AccessTokenResponse [−][src]
pub struct AccessTokenResponse {
pub access_token: String,
pub token_type: String,
pub expires_in: u32,
pub refresh_token: Option<String>,
pub scope: Option<String>,
pub id_token: Option<String>,
}
Fields
access_token: String
token_type: String
expires_in: u32
refresh_token: Option<String>
scope: Option<String>
Space seperated list of scopes that were approved, if this differs from the original request.
id_token: Option<String>
Oidc puts the token here.
Trait Implementations
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 RefUnwindSafe for AccessTokenResponse
impl Send for AccessTokenResponse
impl Sync for AccessTokenResponse
impl Unpin for AccessTokenResponse
impl UnwindSafe for AccessTokenResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more