hoauth2-providers-0.5.0: OAuth2 Identity Providers
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.OAuth2.Provider.AzureAD

Description

Synopsis

Documentation

mkAzureIdp Source #

Arguments

:: MonadIO m 
=> Text

Full domain with no http protocol. e.g. contoso.onmicrosoft.com

-> ExceptT Text m (Idp AzureAD) 

data AzureADUser Source #

Constructors

AzureADUser 

Fields

Instances

Instances details
FromJSON AzureADUser Source # 
Instance details

Defined in Network.OAuth2.Provider.AzureAD

Generic AzureADUser Source # 
Instance details

Defined in Network.OAuth2.Provider.AzureAD

Associated Types

type Rep AzureADUser :: Type -> Type #

Show AzureADUser Source # 
Instance details

Defined in Network.OAuth2.Provider.AzureAD

type Rep AzureADUser Source # 
Instance details

Defined in Network.OAuth2.Provider.AzureAD

type Rep AzureADUser = D1 ('MetaData "AzureADUser" "Network.OAuth2.Provider.AzureAD" "hoauth2-providers-0.5.0-YAKFje1qhS7CRq5zl43M3" 'False) (C1 ('MetaCons "AzureADUser" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sub") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "familyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "givenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))