BMicrosoftSocialAuth - Esempi
BMicrosoftSocialAuth microsoft = new(
clientId,
clientSecret,
tenantId,
callbackUrl);
string url = microsoft.GetUrlAuthentication();
BSocialToken? token = await microsoft.GetToken(code);
BSocialUser? user = token == null ? null : await microsoft.GetUser(token.AccessToken);
Il provider usa Microsoft Graph /v1.0/me. LogOut nell'implementazione corrente non revoca il token e restituisce true dopo un task completato. Verificare attentamente l'header Authorization prodotto dalla versione corrente prima dell'uso applicativo.
