pub mod microsoft;
pub mod offline;
#[cfg(feature = "yggdrasil-auth")]
pub mod yggdrasil;
use crate::auth::{accounts::Account, error::Result};
pub trait Authorizer {
type Account: Account;
fn id() -> &'static str;
fn name() -> &'static str {
"Authorizer"
}
fn authorize(&self) -> impl Future<Output = Result<Self::Account>>;
}