[−][src]Enum openidconnect::core::CoreResponseType
OpenID Connect Core response type.
Informs the Authorization Server of the desired authorization processing flow, including what parameters are returned from the endpoints used.
This type represents a single Response Type. Multiple Response Types are represented via the
ResponseTypes
type, which wraps a Vec<ResponseType>
.
Variants
Used by the OAuth 2.0 Authorization Code Flow.
When supplied as the response_type
parameter in an OAuth 2.0 Authorization Request, a
successful response MUST include the parameter id_token
.
When supplied as the response_type
parameter in an OAuth 2.0 Authorization Request, the
Authorization Server SHOULD NOT return an OAuth 2.0 Authorization Code, Access Token, Access
Token Type, or ID Token in a successful response to the grant request. If a redirect_uri
is supplied, the User Agent SHOULD be redirected there after granting or denying access.
The request MAY include a state
parameter, and if so, the Authorization Server MUST echo
its value as a response parameter when issuing either a successful response or an error
response. The default Response Mode for this Response Type is the query encoding. Both
successful and error responses SHOULD be returned using the supplied Response Mode, or if
none is supplied, using the default Response Mode.
This Response Type is not generally used with OpenID Connect but may be supported by the Authorization Server.
Used by the OAuth 2.0 Implicit Flow.
Trait Implementations
impl ResponseType for CoreResponseType
[src]
fn to_oauth2(&self) -> OAuth2ResponseType
[src]
impl AsRef<str> for CoreResponseType
[src]
impl Clone for CoreResponseType
[src]
fn clone(&self) -> CoreResponseType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<CoreResponseType> for CoreResponseType
[src]
fn eq(&self, other: &CoreResponseType) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Debug for CoreResponseType
[src]
impl Serialize for CoreResponseType
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for CoreResponseType
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for CoreResponseType
impl Sync for CoreResponseType
impl Unpin for CoreResponseType
impl UnwindSafe for CoreResponseType
impl RefUnwindSafe for CoreResponseType
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>,