graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.Server.Auth.JWT.Logging

Synopsis

Documentation

data JwkFetchError Source #

Possible errors during fetching and parsing JWK (the Text type at the end is a friendly error message)

Constructors

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

Instances details
Show JwkFetchError Source # 
Instance details

Defined in Hasura.Server.Auth.JWT.Logging

ToJSON JwkFetchError Source # 
Instance details

Defined in Hasura.Server.Auth.JWT.Logging

Methods

toJSON :: JwkFetchError -> Value

toEncoding :: JwkFetchError -> Encoding

toJSONList :: [JwkFetchError] -> Value

toEncodingList :: [JwkFetchError] -> Encoding

data JwkRefreshLog Source #

Constructors

JwkRefreshLog 

Instances

Instances details
Show JwkRefreshLog Source # 
Instance details

Defined in Hasura.Server.Auth.JWT.Logging

ToJSON JwkRefreshLog Source # 
Instance details

Defined in Hasura.Server.Auth.JWT.Logging

Methods

toJSON :: JwkRefreshLog -> Value

toEncoding :: JwkRefreshLog -> Encoding

toJSONList :: [JwkRefreshLog] -> Value

toEncodingList :: [JwkRefreshLog] -> Encoding

ToEngineLog JwkRefreshLog Hasura Source # 
Instance details

Defined in Hasura.Server.Auth.JWT.Logging