| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Yesod.Auth.OAuth2.AzureADv2
Description
OAuth2 plugin for Azure AD using the new v2 endpoints.
- Authenticates against Azure AD
- Uses email as credentials identifier
Documentation
Arguments
| :: YesodAuth m | |
| => Text | Tenant Id If using a multi-tenant App, |
| -> Text | Client Id |
| -> Text | Client secret |
| -> AuthPlugin m |
oauth2AzureADv2Scoped :: YesodAuth m => [Text] -> Text -> Text -> Text -> AuthPlugin m Source #
oauth2AzureADv2Widget :: YesodAuth m => WidgetFor m () -> Text -> Text -> Text -> AuthPlugin m Source #