Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data JwkFetchError
- data JwkRefreshLog = JwkRefreshLog {
- jrlLogLevel :: !LogLevel
- jrlMessage :: !(Maybe Text)
- jrlError :: !(Maybe JwkFetchError)
Documentation
data JwkFetchError Source #
Possible errors during fetching and parsing JWK
(the Text
type at the end is a friendly error message)
JFEHttpException !HttpException !Text | Exception while making the HTTP request |
JFEHttpError !URI !Status !ByteString !Text | Non-2xx HTTP errors from the upstream server |
JFEJwkParseError !Text !Text | Error parsing the JWK response itself |
JFEExpiryParseError !(Maybe Text) Text | Error parsing the expiry of the JWK |
Instances
ToJSON JwkFetchError Source # | |
Defined in Hasura.Server.Auth.JWT.Logging toJSON :: JwkFetchError -> Value Source # toEncoding :: JwkFetchError -> Encoding Source # toJSONList :: [JwkFetchError] -> Value Source # toEncodingList :: [JwkFetchError] -> Encoding Source # | |
Show JwkFetchError Source # | |
Defined in Hasura.Server.Auth.JWT.Logging showsPrec :: Int -> JwkFetchError -> ShowS # show :: JwkFetchError -> String # showList :: [JwkFetchError] -> ShowS # |
data JwkRefreshLog Source #
JwkRefreshLog | |
|
Instances
ToJSON JwkRefreshLog Source # | |
Defined in Hasura.Server.Auth.JWT.Logging toJSON :: JwkRefreshLog -> Value Source # toEncoding :: JwkRefreshLog -> Encoding Source # toJSONList :: [JwkRefreshLog] -> Value Source # toEncodingList :: [JwkRefreshLog] -> Encoding Source # | |
Show JwkRefreshLog Source # | |
Defined in Hasura.Server.Auth.JWT.Logging showsPrec :: Int -> JwkRefreshLog -> ShowS # show :: JwkRefreshLog -> String # showList :: [JwkRefreshLog] -> ShowS # | |
ToEngineLog JwkRefreshLog Hasura Source # | |
Defined in Hasura.Server.Auth.JWT.Logging toEngineLog :: JwkRefreshLog -> (LogLevel, EngineLogType Hasura, Value) Source # |