Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- sampleAzureADAuthorizationCodeApp :: AuthorizationCodeApplication
- fetchUserInfo :: (MonadIO m, HasUserInfoRequest a, FromJSON b) => IdpApplication i a -> Manager -> AccessToken -> ExceptT ByteString m b
- defaultAzureADIdp :: Idp AzureAD
- mkAzureIdp :: MonadIO m => Text -> ExceptT Text m (Idp AzureAD)
- data AzureADUser = AzureADUser {}
Documentation
fetchUserInfo :: (MonadIO m, HasUserInfoRequest a, FromJSON b) => IdpApplication i a -> Manager -> AccessToken -> ExceptT ByteString m b Source #
defaultAzureADIdp :: Idp AzureAD Source #
https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration
It's supporse to resue mkAzureIdp
mkAzureIdp "common"
But its issuer is "https://login.microsoftonline.com/{tenantid}/v2.0", which is invalid URI!!
data AzureADUser Source #