Enum oxide_auth::primitives::registrar::RegistrarError
source · pub enum RegistrarError {
Unspecified,
PrimitiveError,
}
Expand description
Handled responses from a registrar.
Variants§
Unspecified
One of several different causes that should be indistiguishable.
- Indicates an entirely unknown client.
- The client is not authorized.
- The redirection url was not the registered one. It is generally advisable to perform an exact match on the url, to prevent injection of bad query parameters for example but not strictly required.
These should be indistiguishable to avoid security problems.
PrimitiveError
Something went wrong with this primitive that has no security reason.
Trait Implementations§
source§impl Clone for RegistrarError
impl Clone for RegistrarError
source§fn clone(&self) -> RegistrarError
fn clone(&self) -> RegistrarError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for RegistrarError
impl Send for RegistrarError
impl Sync for RegistrarError
impl Unpin for RegistrarError
impl UnwindSafe for RegistrarError
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
Mutably borrows from an owned value. Read more