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 for Oauth2Error
impl PartialEq 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 ==
.source§impl Serialize for Oauth2Error
impl Serialize for Oauth2Error
impl StructuralPartialEq for Oauth2Error
Auto Trait Implementations§
impl Freeze for Oauth2Error
impl RefUnwindSafe for Oauth2Error
impl Send for Oauth2Error
impl Sync for Oauth2Error
impl Unpin for Oauth2Error
impl UnwindSafe for Oauth2Error
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request