Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type LazyByteString = ByteString
- data AccessTokenProvider (m :: * -> *) t = AccessTokenProvider {
- retrieveAccessToken :: m (AccessToken t)
- releaseProvider :: m ()
- newtype AccessToken t = AccessToken {}
- newtype AccessTokenName = AccessTokenName Text
- data AtpConfFixed = AtpConfFixed {}
- data AtpConfFile = AtpConfFile {}
- newtype AtpRopcgTokenDef = AtpRopcgTokenDef {}
- data AtpPreconfRopcg = AtpPreconfRopcg {}
- data AtpConfRopcg = AtpConfRopcg {}
- data ClientCredentials = ClientCredentials {
- _clientId :: Text
- _clientSecret :: Text
- data UserCredentials = UserCredentials {}
- data OAuth2Error = OAuth2Error {}
- data AccessTokenProviderException
- data Credentials = Credentials {}
- data AtpRopcgResponse = AtpRopcgResponse {
- _scope :: Maybe Text
- _expiresIn :: Maybe Int
- _tokenType :: Text
- _accessToken :: Text
- newtype AtpProbe m = AtpProbe (forall t. AccessTokenName -> m (Maybe (AccessTokenProvider m t)))
- class Monad m => MonadFilesystem m where
- class Monad m => MonadEnvironment m where
- class Monad m => MonadHttp m where
Documentation
type LazyByteString = ByteString Source #
data AccessTokenProvider (m :: * -> *) t Source #
AccessTokenProvider | |
|
newtype AccessToken t Source #
Eq (AccessToken t) Source # | |
Ord (AccessToken t) Source # | |
Show (AccessToken t) Source # | |
newtype AccessTokenName Source #
data AtpConfFixed Source #
data AtpConfFile Source #
newtype AtpRopcgTokenDef Source #
data AtpPreconfRopcg Source #
data AtpConfRopcg Source #
data ClientCredentials Source #
Type modelling the content of the credentials stored in a client.json file.
data UserCredentials Source #
Type modelling the content of the credentials stored in a user.json file.
data Credentials Source #
Type containing all credentials read from a mint credentials directory.
data AtpRopcgResponse Source #
AtpRopcgResponse | |
|
AtpProbe (forall t. AccessTokenName -> m (Maybe (AccessTokenProvider m t))) |
class Monad m => MonadFilesystem m where Source #
fileRead :: FilePath -> m ByteString Source #
fileRead :: (m ~ t n, MonadTrans t, MonadFilesystem n) => FilePath -> m ByteString Source #
MonadFilesystem IO Source # | |
MonadFilesystem m => MonadFilesystem (MaybeT m) Source # | |
MonadFilesystem m => MonadFilesystem (KatipContextT m) Source # | |
MonadFilesystem m => MonadFilesystem (KatipT m) Source # | |
MonadFilesystem m => MonadFilesystem (StateT s m) Source # | |
MonadFilesystem m => MonadFilesystem (ReaderT * r m) Source # | |
class Monad m => MonadEnvironment m where Source #
environmentLookup :: Text -> m (Maybe Text) Source #
environmentLookup :: (m ~ t n, MonadTrans t, MonadEnvironment n) => Text -> m (Maybe Text) Source #
MonadEnvironment IO Source # | |
MonadEnvironment m => MonadEnvironment (MaybeT m) Source # | |
MonadEnvironment m => MonadEnvironment (KatipContextT m) Source # | |
MonadEnvironment m => MonadEnvironment (KatipT m) Source # | |
MonadEnvironment m => MonadEnvironment (StateT s m) Source # | |
MonadEnvironment m => MonadEnvironment (ReaderT * r m) Source # | |
class Monad m => MonadHttp m where Source #
httpRequestExecute :: Request -> Manager -> m (Response LazyByteString) Source #
httpRequestExecute :: (m ~ t n, MonadTrans t, MonadHttp n) => Request -> Manager -> m (Response LazyByteString) Source #