Struct yup_oauth2::error::AuthError [−][src]
pub struct AuthError {
pub error: AuthErrorCode,
pub error_description: Option<String>,
pub error_uri: Option<String>,
}
Expand description
Error returned by the authorization server.
https://tools.ietf.org/html/rfc6749#section-5.2 https://tools.ietf.org/html/rfc8628#section-3.5
Fields
error: AuthErrorCode
Error code from the server.
error_description: Option<String>
Human-readable text providing additional information.
error_uri: Option<String>
A URI identifying a human-readable web page with information about the error.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more