hoauth2-providers-0.6.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.6.0-LwiYigtMcgp6bTGRroDC6i" '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)))))