Struct kanidm_proto::oauth2::AccessTokenRequest
source · pub struct AccessTokenRequest {
pub grant_type: GrantTypeReq,
pub client_id: Option<String>,
pub client_secret: Option<String>,
}
Expand description
An Access Token request. This requires a set of grant-type parameters to satisfy the request.
Fields§
§grant_type: GrantTypeReq
§client_id: Option<String>
§client_secret: Option<String>
Trait Implementations§
source§impl Debug for AccessTokenRequest
impl Debug for AccessTokenRequest
source§impl<'de> Deserialize<'de> for AccessTokenRequest
impl<'de> Deserialize<'de> for AccessTokenRequest
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
source§impl From<GrantTypeReq> for AccessTokenRequest
impl From<GrantTypeReq> for AccessTokenRequest
source§fn from(req: GrantTypeReq) -> AccessTokenRequest
fn from(req: GrantTypeReq) -> AccessTokenRequest
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccessTokenRequest
impl RefUnwindSafe for AccessTokenRequest
impl Send for AccessTokenRequest
impl Sync for AccessTokenRequest
impl Unpin for AccessTokenRequest
impl UnwindSafe for AccessTokenRequest
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