coinbase-pro-0.9.3.0: Client for Coinbase Pro
Safe HaskellNone
LanguageHaskell2010

CoinbasePro.Authenticated.Request

Synopsis

Documentation

newtype CBAuthT m a Source #

Constructors

CBAuthT 

Instances

Instances details
MonadTrans CBAuthT Source # 
Instance details

Defined in CoinbasePro.Authenticated.Request

Methods

lift :: Monad m => m a -> CBAuthT m a #

Monad m => Monad (CBAuthT m) Source # 
Instance details

Defined in CoinbasePro.Authenticated.Request

Methods

(>>=) :: CBAuthT m a -> (a -> CBAuthT m b) -> CBAuthT m b #

(>>) :: CBAuthT m a -> CBAuthT m b -> CBAuthT m b #

return :: a -> CBAuthT m a #

Functor m => Functor (CBAuthT m) Source # 
Instance details

Defined in CoinbasePro.Authenticated.Request

Methods

fmap :: (a -> b) -> CBAuthT m a -> CBAuthT m b #

(<$) :: a -> CBAuthT m b -> CBAuthT m a #

Applicative m => Applicative (CBAuthT m) Source # 
Instance details

Defined in CoinbasePro.Authenticated.Request

Methods

pure :: a -> CBAuthT m a #

(<*>) :: CBAuthT m (a -> b) -> CBAuthT m a -> CBAuthT m b #

liftA2 :: (a -> b -> c) -> CBAuthT m a -> CBAuthT m b -> CBAuthT m c #

(*>) :: CBAuthT m a -> CBAuthT m b -> CBAuthT m b #

(<*) :: CBAuthT m a -> CBAuthT m b -> CBAuthT m a #

MonadIO m => MonadIO (CBAuthT m) Source # 
Instance details

Defined in CoinbasePro.Authenticated.Request

Methods

liftIO :: IO a -> CBAuthT m a #

MonadThrow m => MonadThrow (CBAuthT m) Source # 
Instance details

Defined in CoinbasePro.Authenticated.Request

Methods

throwM :: Exception e => e -> CBAuthT m a #

MonadCatch m => MonadCatch (CBAuthT m) Source # 
Instance details

Defined in CoinbasePro.Authenticated.Request

Methods

catch :: Exception e => CBAuthT m a -> (e -> CBAuthT m a) -> CBAuthT m a #

MonadMask m => MonadMask (CBAuthT m) Source # 
Instance details

Defined in CoinbasePro.Authenticated.Request

Methods

mask :: ((forall a. CBAuthT m a -> CBAuthT m a) -> CBAuthT m b) -> CBAuthT m b #

uninterruptibleMask :: ((forall a. CBAuthT m a -> CBAuthT m a) -> CBAuthT m b) -> CBAuthT m b #

generalBracket :: CBAuthT m a -> (a -> ExitCase b -> CBAuthT m c) -> (a -> CBAuthT m b) -> CBAuthT m (b, c) #

runCbAuthT :: Runner a -> CoinbaseProCredentials -> CBAuthT ClientM a -> IO a Source #

Sequences ClientM actions using the same auth credentials

This allows for custom Runners to be used.

runDefCbAuthT :: Environment -> CoinbaseProCredentials -> CBAuthT ClientM a -> IO a Source #

Sequences ClientM actions using the same auth credentials

Should be used over runCbAuthT unless a bespoke Runner needs to be used.

newtype CBSecretKey Source #

Constructors

CBSecretKey String 

Instances

Instances details
Eq CBSecretKey Source # 
Instance details

Defined in CoinbasePro.Authenticated.Request

type AuthGet a = CBAuthAPI "CBAuth" Get a Source #

type AuthPost a = CBAuthAPI "CBAuth" Post a Source #

type AuthDelete a = CBAuthAPI "CBAuth" Delete a Source #