Safe Haskell | None |
---|---|
Language | Haskell2010 |
Security.AccessTokenProvider.Internal.Types
- 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 #
Constructors
AccessTokenProvider | |
Fields
|
newtype AccessToken t Source #
Constructors
AccessToken | |
Fields |
Instances
Eq (AccessToken t) Source # | |
Ord (AccessToken t) Source # | |
Show (AccessToken t) Source # | |
newtype AccessTokenName Source #
Constructors
AccessTokenName Text |
data AtpConfFixed Source #
Instances
data AtpConfFile Source #
Instances
newtype AtpRopcgTokenDef Source #
Constructors
AtpRopcgTokenDef | |
Instances
data AtpPreconfRopcg Source #
Constructors
AtpPreconfRopcg | |
Instances
data AtpConfRopcg Source #
Constructors
AtpConfRopcg | |
Instances
data ClientCredentials Source #
Type modelling the content of the credentials stored in a client.json file.
Constructors
ClientCredentials | |
Fields
|
Instances
data UserCredentials Source #
Type modelling the content of the credentials stored in a user.json file.
Constructors
UserCredentials | |
Fields |
Instances
data Credentials Source #
Type containing all credentials read from a mint credentials directory.
Constructors
Credentials | |
Fields |
data AtpRopcgResponse Source #
Constructors
AtpRopcgResponse | |
Fields
|
Instances
Constructors
AtpProbe (forall t. Backend m -> AccessTokenName -> m (Maybe (AccessTokenProvider m t))) |
data BackendHttp m Source #
Constructors
BackendHttp | |
Fields
|
data BackendEnv m Source #
Constructors
BackendEnv | |
data BackendFilesystem m Source #
Constructors
BackendFilesystem | |
Fields
|
data BackendLog m Source #
Constructors
BackendLog | |
Fields
|
Constructors
Backend | |
Fields
|