Enum yup_oauth2::error::AuthErrorCode [−][src]
pub enum AuthErrorCode {
InvalidRequest,
InvalidClient,
InvalidGrant,
UnauthorizedClient,
UnsupportedGrantType,
InvalidScope,
AccessDenied,
ExpiredToken,
Other(String),
}
Expand description
The error code returned by the authorization server.
Variants
invalid_request
invalid_client
invalid_grant
unauthorized_client
unsupported_grant_type
invalid_scope
access_denied
expired_token
Other(String)
other error
Tuple Fields of Other
0: String
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AuthErrorCode
impl Send for AuthErrorCode
impl Sync for AuthErrorCode
impl Unpin for AuthErrorCode
impl UnwindSafe for AuthErrorCode
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more