use renox::prelude::*;
#[derive(Debug, Clone)]
#[non_exhaustive]
pub struct AccountLinked {
pub user_id: i64,
pub provider: String,
}
impl Event for AccountLinked {}
#[derive(Debug, Clone)]
#[non_exhaustive]
pub struct AccountUnlinked {
pub user_id: i64,
pub provider: String,
}
impl Event for AccountUnlinked {}
#[derive(Debug, Clone)]
#[non_exhaustive]
pub struct LoggedInWith {
pub user_id: i64,
pub provider: String,
pub second_step: bool,
}
impl Event for LoggedInWith {}
#[derive(Debug, Clone)]
#[non_exhaustive]
pub struct OAuthRefused {
pub provider: String,
pub reason: String,
pub email: Option<String>,
}
impl Event for OAuthRefused {}