Struct kanidm_proto::oauth2::AuthorisationRequest
source · pub struct AuthorisationRequest {
pub response_type: String,
pub client_id: String,
pub state: String,
pub pkce_request: Option<PkceRequest>,
pub redirect_uri: Url,
pub scope: String,
pub nonce: Option<String>,
pub oidc_ext: AuthorisationRequestOidc,
pub max_age: Option<i64>,
pub unknown_keys: BTreeMap<String, Value>,
}
Expand description
An OAuth2 client redirects to the authorisation server with Authorisation Request parameters.
Fields§
§response_type: String
§client_id: String
§state: String
§pkce_request: Option<PkceRequest>
§redirect_uri: Url
§scope: String
§nonce: Option<String>
§oidc_ext: AuthorisationRequestOidc
§max_age: Option<i64>
§unknown_keys: BTreeMap<String, Value>
Trait Implementations§
source§impl Clone for AuthorisationRequest
impl Clone for AuthorisationRequest
source§fn clone(&self) -> AuthorisationRequest
fn clone(&self) -> AuthorisationRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthorisationRequest
impl Debug for AuthorisationRequest
source§impl<'de> Deserialize<'de> for AuthorisationRequest
impl<'de> Deserialize<'de> for AuthorisationRequest
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 AuthorisationRequest
impl RefUnwindSafe for AuthorisationRequest
impl Send for AuthorisationRequest
impl Sync for AuthorisationRequest
impl Unpin for AuthorisationRequest
impl UnwindSafe for AuthorisationRequest
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)