Crates.io | inth-oauth2-azure |
lib.rs | inth-oauth2-azure |
version | 0.1.0 |
source | src |
created_at | 2018-11-30 12:21:45.761301 |
updated_at | 2018-11-30 12:21:45.761301 |
description | Azure Active Directory (OpenID Connect) support for the inth-oauth2 crate |
homepage | |
repository | https://github.com/ccakes/inth-oauth2-azure |
max_upload_size | |
id | 99376 |
size | 7,296 |
This provides Azure Active Directory (OpenID Connect) support for the inth-oauth2 crate.
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())
);