Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type LazyByteString = ByteString
- data TokenIntrospector m = TokenIntrospector {
- introspectToken :: ByteString -> m TokenInfo
- data TokenInfo = TokenInfo {}
- data BackendHttp m = BackendHttp {
- httpRequestExecute :: Request -> m (Response LazyByteString)
- data BackendEnv m = BackendEnv {}
- data Backend m = Backend {
- backendHttp :: BackendHttp m
- backendEnv :: BackendEnv m
- data Conf m = Conf {}
- data ErrorResponse = ErrorResponse {}
- data IntrospectionError
Documentation
type LazyByteString = ByteString Source #
data TokenIntrospector m Source #
A TokenIntrospector
can be used for introspecting tokens.
TokenIntrospector | |
|
Information returned on a successful token introspection.
data BackendHttp m Source #
data BackendEnv m Source #
Type for backends for the PlanB token introspector.
Backend | |
|
data ErrorResponse Source #
Contains the error response data returned from a PlanB server in case of an introspection error.
data IntrospectionError Source #
This type models the error scenarios specific to a token introspection attempt. These can be used as exceptions and are in fact thrown by a PlanB token introspector.