Skip to main content

add_microsoft_mail

Function add_microsoft_mail 

Source
pub(crate) fn add_microsoft_mail(
    qt: &CxxQtThread<Sioul>,
    shared: &Arc<Shared>,
    address: String,
    kind: String,
    client_id: String,
    tenant: String,
    again: Option<String>,
)
Expand description

Adds an address’s Microsoft mail, signed in on Microsoft’s page, or signs its account in again (again: its id; an account added with a password at Microsoft’s server is switched to Microsoft’s sign-in, its password forgotten). kind: what discovery found (“personal”, “work”, “unknown”); client_id and tenant: an application of your own, else the one kept for this address, else Sioul’s. On a thread; the form says how it went.