Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
genAccessToken :: OAuth2 -> RefreshToken -> IO (Maybe OAuth2Token) Source #
swapCode :: OAuth2 -> ExchangeToken -> IO (Maybe OAuth2Token) Source #
buildOAuth2 :: Env -> ClientId -> ClientSecret -> URI -> OAuth2 Source #
newtype RefreshToken #
Instances
FromJSON RefreshToken | |
Defined in Network.OAuth.OAuth2.Internal parseJSON :: Value -> Parser RefreshToken parseJSONList :: Value -> Parser [RefreshToken] | |
ToJSON RefreshToken | |
Defined in Network.OAuth.OAuth2.Internal toJSON :: RefreshToken -> Value toEncoding :: RefreshToken -> Encoding toJSONList :: [RefreshToken] -> Value toEncodingList :: [RefreshToken] -> Encoding | |
Show RefreshToken | |
Defined in Network.OAuth.OAuth2.Internal showsPrec :: Int -> RefreshToken -> ShowS # show :: RefreshToken -> String # showList :: [RefreshToken] -> ShowS # | |
Binary RefreshToken | |
Defined in Network.OAuth.OAuth2.Internal | |
Eq RefreshToken | |
Defined in Network.OAuth.OAuth2.Internal (==) :: RefreshToken -> RefreshToken -> Bool # (/=) :: RefreshToken -> RefreshToken -> Bool # |
newtype AccessToken #
Instances
FromJSON AccessToken | |
Defined in Network.OAuth.OAuth2.Internal parseJSON :: Value -> Parser AccessToken parseJSONList :: Value -> Parser [AccessToken] | |
ToJSON AccessToken | |
Defined in Network.OAuth.OAuth2.Internal toJSON :: AccessToken -> Value toEncoding :: AccessToken -> Encoding toJSONList :: [AccessToken] -> Value toEncodingList :: [AccessToken] -> Encoding | |
Show AccessToken | |
Defined in Network.OAuth.OAuth2.Internal showsPrec :: Int -> AccessToken -> ShowS # show :: AccessToken -> String # showList :: [AccessToken] -> ShowS # | |
Binary AccessToken | |
Defined in Network.OAuth.OAuth2.Internal | |
Eq AccessToken | |
Defined in Network.OAuth.OAuth2.Internal (==) :: AccessToken -> AccessToken -> Bool # (/=) :: AccessToken -> AccessToken -> Bool # |
data OAuth2Token #
OAuth2Token | |
|
Instances
newtype ExchangeToken #
Instances
FromJSON ExchangeToken | |
Defined in Network.OAuth.OAuth2.Internal parseJSON :: Value -> Parser ExchangeToken parseJSONList :: Value -> Parser [ExchangeToken] | |
ToJSON ExchangeToken | |
Defined in Network.OAuth.OAuth2.Internal toJSON :: ExchangeToken -> Value toEncoding :: ExchangeToken -> Encoding toJSONList :: [ExchangeToken] -> Value toEncodingList :: [ExchangeToken] -> Encoding | |
Show ExchangeToken | |
Defined in Network.OAuth.OAuth2.Internal showsPrec :: Int -> ExchangeToken -> ShowS # show :: ExchangeToken -> String # showList :: [ExchangeToken] -> ShowS # |
newtype ClientSecret Source #
Instances
Show ClientSecret Source # | |
Defined in Bank.TrueLayer.Auth showsPrec :: Int -> ClientSecret -> ShowS # show :: ClientSecret -> String # showList :: [ClientSecret] -> ShowS # |