[−][src]Enum openidconnect::core::CoreResponseMode
OpenID Connect Core response mode.
Informs the Authorization Server of the mechanism to be used for returning Authorization Response parameters from the Authorization Endpoint.
The default Response Mode for the OAuth 2.0 code
Response Type is the query
encoding.
The default Response Mode for the OAuth 2.0 token
Response Type is the fragment
encoding.
These values are defined in
OAuth 2.0 Multiple Response Type Encoding Practices
and OAuth 2.0 Form Post Response Mode.
Variants
In this mode, Authorization Response parameters are encoded in the query string added to
the redirect_uri
when redirecting back to the Client.
In this mode, Authorization Response parameters are encoded in the fragment added to the
redirect_uri
when redirecting back to the Client.
In this mode, Authorization Response parameters are encoded as HTML form values that are
auto-submitted in the User Agent, and thus are transmitted via the HTTP POST
method to the
Client, with the result parameters being encoded in the body using the
application/x-www-form-urlencoded
format. The action
attribute of the form MUST be the
Client's Redirection URI. The method of the form attribute MUST be POST
. Because the
Authorization Response is intended to be used only once, the Authorization Server MUST
instruct the User Agent (and any intermediaries) not to store or reuse the content of the
response.
Any technique supported by the User Agent MAY be used to cause the submission of the form, and any form content necessary to support this MAY be included, such as submit controls and client-side scripting commands. However, the Client MUST be able to process the message without regard for the mechanism by which the form submission was initiated.
See OAuth 2.0 Form Post Response Mode for further information.
Trait Implementations
impl ResponseMode for CoreResponseMode
[src]
impl Clone for CoreResponseMode
[src]
fn clone(&self) -> CoreResponseMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<CoreResponseMode> for CoreResponseMode
[src]
fn eq(&self, other: &CoreResponseMode) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Debug for CoreResponseMode
[src]
impl Serialize for CoreResponseMode
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for CoreResponseMode
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for CoreResponseMode
impl Sync for CoreResponseMode
impl Unpin for CoreResponseMode
impl UnwindSafe for CoreResponseMode
impl RefUnwindSafe for CoreResponseMode
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,