pub struct ParRequest {
pub client_id: String,
pub response_type: Option<String>,
pub response_mode: Option<String>,
pub redirect_uri: Option<String>,
pub scope: Option<String>,
pub state: Option<String>,
pub code_challenge: Option<String>,
pub code_challenge_method: Option<String>,
pub login_hint: Option<String>,
pub credentials: ClientCredentials,
pub dpop_jkt: Option<String>,
pub proof_key: DpopThumbprint,
}Expand description
The raw wire fields POST /oauth/par accepts, before client metadata is
resolved.
Fields§
§client_id: StringThe HTTPS URL naming the client’s metadata document.
response_type: Option<String>The OAuth response type. RFC 6749 §4.1.1 requires it, and only
code is accepted.
response_mode: Option<String>Where the authorization response carries its parameters; see
ResponseMode. Absent is query.
redirect_uri: Option<String>Where an authorization code should be delivered.
scope: Option<String>The requested scope, unparsed.
state: Option<String>The client’s own opaque state, echoed back unexamined.
code_challenge: Option<String>PKCE code challenge.
code_challenge_method: Option<String>PKCE code challenge method; only S256 is accepted.
login_hint: Option<String>The at-identifier the client wants to sign in as.
credentials: ClientCredentialsThe client assertion a confidential client authenticates with.
dpop_jkt: Option<String>The key the client names for exchanging the code, when it names one (RFC 9449 §10).
proof_key: DpopThumbprintThe thumbprint of the key the push’s DPoP proof proved possession of.
Trait Implementations§
Source§impl Clone for ParRequest
impl Clone for ParRequest
Source§fn clone(&self) -> ParRequest
fn clone(&self) -> ParRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for ParRequest
impl RefUnwindSafe for ParRequest
impl Send for ParRequest
impl Sync for ParRequest
impl Unpin for ParRequest
impl UnsafeUnpin for ParRequest
impl UnwindSafe for ParRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more