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 # | |
Defined in Network.OAuth2.Provider.Weibo | |
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.5.0-YAKFje1qhS7CRq5zl43M3" '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)))) |