[−][src]Enum openid::error::OAuth2ErrorCode
OAuth 2.0 error codes.
Variants
The request is missing a required parameter, includes an unsupported parameter value (other than grant type), repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed.
Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method).
The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
The authenticated client is not authorized to use this authorization grant type.
The authorization grant type is not supported by the authorization server.
The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner.
Unrecognized(String)
An unrecognized error code, not defined in RFC 6749.
Trait Implementations
impl Clone for OAuth2ErrorCode
[src]
fn clone(&self) -> OAuth2ErrorCode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OAuth2ErrorCode
[src]
impl<'de> Deserialize<'de> for OAuth2ErrorCode
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for OAuth2ErrorCode
[src]
impl<'a> From<&'a str> for OAuth2ErrorCode
[src]
fn from(s: &str) -> OAuth2ErrorCode
[src]
impl PartialEq<OAuth2ErrorCode> for OAuth2ErrorCode
[src]
fn eq(&self, other: &OAuth2ErrorCode) -> bool
[src]
fn ne(&self, other: &OAuth2ErrorCode) -> bool
[src]
impl StructuralEq for OAuth2ErrorCode
[src]
impl StructuralPartialEq for OAuth2ErrorCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for OAuth2ErrorCode
impl Send for OAuth2ErrorCode
impl Sync for OAuth2ErrorCode
impl Unpin for OAuth2ErrorCode
impl UnwindSafe for OAuth2ErrorCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,