Skip to main content

sign_in_with_microsoft

Function sign_in_with_microsoft 

Source
fn sign_in_with_microsoft(
    s: &Session,
    account: Account,
    kind: MicrosoftKind,
    client_id: &str,
    tenant: &str,
) -> Result<Account, String>
Expand description

Microsoft’s page, from the terminal: its link printed, to open in a browser on this computer (its answer comes back here, to a loopback port); Sioul waits five minutes, Ctrl+C stops. The mailbox is tried with the access given before anything is kept (microsoft::sign_in); when only the mailbox of the login Microsoft’s page signed in opened, not the address’s, Sioul asks first, No by default (and No without a terminal). A login another of your accounts signs in as is refused. A work account refused for want of its organisation’s approval gets what its administrator does, to forward.