Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- sampleWeiboAuthorizationCodeApp :: AuthorizationCodeApplication
- fetchUserInfo :: (MonadIO m, HasUserInfoRequest a, FromJSON b) => IdpApplication i a -> Manager -> AccessToken -> ExceptT ByteString m b
- defaultWeiboIdp :: Idp Weibo
- data WeiboUser = WeiboUser {}
- newtype WeiboUID = WeiboUID {}
Documentation
fetchUserInfo :: (MonadIO m, HasUserInfoRequest a, FromJSON b) => IdpApplication i a -> Manager -> AccessToken -> ExceptT ByteString m b Source #
Instances
FromJSON WeiboUser Source # | |
Generic WeiboUser Source # | |
Show WeiboUser Source # | |
type Rep WeiboUser Source # | |
Defined in Network.OAuth2.Provider.Weibo type Rep WeiboUser = D1 ('MetaData "WeiboUser" "Network.OAuth2.Provider.Weibo" "hoauth2-providers-0.3.0-IsvcjVlVGHNJC4ObuzEmYQ" 'False) (C1 ('MetaCons "WeiboUser" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "screenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |