1use crate::prelude::ControllerError; 2 3pub trait OAuthValidate: Sized { 4 type Output; 5 fn validate(&self) -> Result<Self::Output, ControllerError>; 6}