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. Backend m -> AccessTokenName -> m (Maybe (AccessTokenProvider m t)))
- data BackendHttp m = BackendHttp {
- httpRequestExecute :: Request -> m (Response LazyByteString)
- data BackendEnv m = BackendEnv {}
- data BackendFilesystem m = BackendFilesystem {
- fileRead :: FilePath -> m ByteString
- data BackendLog m = BackendLog {
- logAddNamespace :: forall a. Text -> m a -> m a
- logMsg :: Severity -> Text -> m ()
- data Backend m = Backend {
- backendHttp :: BackendHttp m
- backendEnv :: BackendEnv m
- backendFilesystem :: BackendFilesystem m
- backendLog :: BackendLog m
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. Backend m -> AccessTokenName -> m (Maybe (AccessTokenProvider m t))) |
data BackendHttp m Source #
data BackendEnv m Source #
data BackendFilesystem m Source #
BackendFilesystem | |
|
data BackendLog m Source #
BackendLog | |
|
Backend | |
|