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

Network.OAuth2.Provider.Auth0

Synopsis

Documentation

data Auth0 Source #

Constructors

Auth0 

Instances

Instances details
Show Auth0 Source # 
Instance details

Defined in Network.OAuth2.Provider.Auth0

Methods

showsPrec :: Int -> Auth0 -> ShowS #

show :: Auth0 -> String #

showList :: [Auth0] -> ShowS #

Eq Auth0 Source # 
Instance details

Defined in Network.OAuth2.Provider.Auth0

Methods

(==) :: Auth0 -> Auth0 -> Bool #

(/=) :: Auth0 -> Auth0 -> Bool #

type IdpUserInfo Auth0 Source # 
Instance details

Defined in Network.OAuth2.Provider.Auth0

mkAuth0Idp Source #

Arguments

:: MonadIO m 
=> Text

Full domain with no http protocol. e.g. foo.auth0.com

-> ExceptT Text m (Idp Auth0) 

data Auth0User Source #

scopes: ["openid", "profile", "email"]

Constructors

Auth0User 

Fields

Instances

Instances details
FromJSON Auth0User Source # 
Instance details

Defined in Network.OAuth2.Provider.Auth0

Generic Auth0User Source # 
Instance details

Defined in Network.OAuth2.Provider.Auth0

Associated Types

type Rep Auth0User :: Type -> Type #

Show Auth0User Source # 
Instance details

Defined in Network.OAuth2.Provider.Auth0

type Rep Auth0User Source # 
Instance details

Defined in Network.OAuth2.Provider.Auth0

type Rep Auth0User = D1 ('MetaData "Auth0User" "Network.OAuth2.Provider.Auth0" "hoauth2-providers-0.1-9gjsI0wLB70AuFkhCq8AT2" 'False) (C1 ('MetaCons "Auth0User" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sub") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))