1 unstable release
Uses old Rust 2015
0.1.0 | Nov 30, 2018 |
---|
#14 in #active-directory
7KB
57 lines
inth-oauth2-azure
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())
);
lib.rs
:
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...
Dependencies
~20MB
~442K SLoC