Expand description

This provides Azure Active Directory (OpenID Connect) support for the inth-oauth2 crate.

Example

extern crate inth_oauth2 as oauth;
extern crate inth_oauth2_azure;
 
use inth_oauth2_azure::AzureCommon;
 
let client = oauth::Client::new(
    AzureCommon,
    "client-id".into(),
    "client-secret".into(),
    Some("redirect-uri".into())
);

Azure provides multiple endpoints which can be used depending on the type of end user you’re wishing to authenticate. More info…

Structs

Users with both a personal Microsoft account and a work or school account from Azure Active Directory (Azure AD) can sign in to the application.
Only users with a personal Microsoft account can sign in to the application.
Only users with work or school accounts from Azure AD can sign in to the application.
Only users with a work or school account from a specific Azure AD tenant can sign in to the application. Either the friendly domain name of the Azure AD tenant or the tenant’s GUID identifier can be used.