Enum matrix_sdk::oidc::OidcError
source · pub enum OidcError {
Oidc(Error),
MissingAuthenticationIssuer,
NoRegistrationSupport,
MissingDeviceId,
NotAuthenticated,
InvalidState,
InvalidDeviceId,
NoRevocationSupport,
Rand(Error),
Url(ParseError),
LockError(CrossProcessRefreshLockError),
UnknownError(Box<dyn Error + Send + Sync>),
}
experimental-oidc
only.Expand description
All errors that can occur when using the OpenID Connect API.
Variants§
Oidc(Error)
An error occurred when interacting with the provider.
MissingAuthenticationIssuer
No authentication issuer was provided by the homeserver or by the user.
NoRegistrationSupport
The OpenID Connect Provider doesn’t support dynamic client registration.
The provider probably offers another way to register clients.
MissingDeviceId
The device ID was not returned by the homeserver after login.
NotAuthenticated
The client is not authenticated while the request requires it.
InvalidState
The state used to complete authorization doesn’t match an original value.
InvalidDeviceId
The device ID is invalid.
NoRevocationSupport
The OpenID Connect Provider doesn’t support token revocation, aka logging out.
Rand(Error)
An error occurred generating a random value.
Url(ParseError)
An error occurred parsing a URL.
LockError(CrossProcessRefreshLockError)
An error occurred caused by the cross-process locks.
UnknownError(Box<dyn Error + Send + Sync>)
An unknown error occurred.
Trait Implementations§
source§impl Error for OidcError
impl Error for OidcError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
Auto Trait Implementations§
impl !RefUnwindSafe for OidcError
impl Send for OidcError
impl Sync for OidcError
impl Unpin for OidcError
impl !UnwindSafe for OidcError
Blanket Implementations§
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§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, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§fn clone_handle(handle: Handle) -> Handle
fn clone_handle(handle: Handle) -> Handle
§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Arc<>