Enum kanidmd_lib::idm::oauth2::Oauth2Error
source · pub enum Oauth2Error {
Show 14 variants
AuthenticationRequired,
InvalidClientId,
InvalidOrigin,
InvalidRequest,
InvalidGrant,
UnauthorizedClient,
AccessDenied,
UnsupportedResponseType,
InvalidScope,
ServerError(OperationError),
TemporarilyUnavailable,
InvalidToken,
InsufficientScope,
UnsupportedTokenType,
}
Variants§
AuthenticationRequired
InvalidClientId
InvalidOrigin
InvalidRequest
InvalidGrant
AccessDenied
UnsupportedResponseType
InvalidScope
ServerError(OperationError)
InvalidToken
InsufficientScope
UnsupportedTokenType
Trait Implementations§
source§impl Debug for Oauth2Error
impl Debug for Oauth2Error
source§impl<'de> Deserialize<'de> for Oauth2Error
impl<'de> Deserialize<'de> for Oauth2Error
source§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
source§impl Display for Oauth2Error
impl Display for Oauth2Error
source§impl PartialEq<Oauth2Error> for Oauth2Error
impl PartialEq<Oauth2Error> for Oauth2Error
source§fn eq(&self, other: &Oauth2Error) -> bool
fn eq(&self, other: &Oauth2Error) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.