pub trait Credentials<U: User, D: DeserializeOwned>: Send + Sync {
// Required methods
fn form(&self) -> Form;
fn sign_in<'life0, 'async_trait>(
&'life0 self,
data: D,
) -> Pin<Box<dyn Future<Output = Result<U, ShieldError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}