pub enum AuthType {
SimpleToken(SimpleTokenValidator),
Jwt(JWTValidator),
Oidc(OIDCValidator),
}Expand description
AuthType combines all possible validators into a single enum which itself implements the TokenValidator trait
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AuthType
impl !UnwindSafe for AuthType
impl Freeze for AuthType
impl Send for AuthType
impl Sync for AuthType
impl Unpin for AuthType
impl UnsafeUnpin for AuthType
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