Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- sampleAuth0AuthorizationCodeApp :: AuthorizationCodeApplication
- fetchUserInfo :: (MonadIO m, HasUserInfoRequest a, FromJSON b) => IdpApplication i a -> Manager -> AccessToken -> ExceptT ByteString m b
- mkAuth0Idp :: MonadIO m => Text -> ExceptT Text m (Idp Auth0)
- data Auth0User = Auth0User {}
Documentation
fetchUserInfo :: (MonadIO m, HasUserInfoRequest a, FromJSON b) => IdpApplication i a -> Manager -> AccessToken -> ExceptT ByteString m b Source #
Instances
FromJSON Auth0User Source # | |
Defined in Network.OAuth2.Provider.Auth0 | |
Generic Auth0User Source # | |
Show Auth0User Source # | |
type Rep Auth0User Source # | |
Defined in Network.OAuth2.Provider.Auth0 type Rep Auth0User = D1 ('MetaData "Auth0User" "Network.OAuth2.Provider.Auth0" "hoauth2-providers-0.7.0-3VNoNOIFaNS9AW0MGPWjDG" '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)))) |