Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
fetchUserInfo :: (MonadIO m, HasUserInfoRequest a, FromJSON b) => IdpApplication i a -> Manager -> AccessToken -> ExceptT ByteString m b Source #
data GitHubUser Source #
Instances
FromJSON GitHubUser Source # | |
Defined in Network.OAuth2.Provider.GitHub parseJSON :: Value -> Parser GitHubUser # parseJSONList :: Value -> Parser [GitHubUser] # | |
Generic GitHubUser Source # | |
Defined in Network.OAuth2.Provider.GitHub type Rep GitHubUser :: Type -> Type # from :: GitHubUser -> Rep GitHubUser x # to :: Rep GitHubUser x -> GitHubUser # | |
Show GitHubUser Source # | |
Defined in Network.OAuth2.Provider.GitHub showsPrec :: Int -> GitHubUser -> ShowS # show :: GitHubUser -> String # showList :: [GitHubUser] -> ShowS # | |
type Rep GitHubUser Source # | |
Defined in Network.OAuth2.Provider.GitHub type Rep GitHubUser = D1 ('MetaData "GitHubUser" "Network.OAuth2.Provider.GitHub" "hoauth2-providers-0.6.0-LwiYigtMcgp6bTGRroDC6i" 'False) (C1 ('MetaCons "GitHubUser" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) |