hackage-security-0.6.0.1: Hackage security library

Safe HaskellNone
LanguageHaskell2010

Hackage.Security.Key.Env

Contents

Synopsis

Documentation

data KeyEnv Source #

A key environment is a mapping from key IDs to the corresponding keys.

It should satisfy the invariant that these key IDs actually match the keys; see checkKeyEnvInvariant.

Instances
Show KeyEnv Source # 
Instance details

Defined in Hackage.Security.Key.Env

ReportSchemaErrors m => FromJSON m KeyEnv Source # 
Instance details

Defined in Hackage.Security.Key.Env

Methods

fromJSON :: JSValue -> m KeyEnv Source #

Monad m => ToJSON m KeyEnv Source # 
Instance details

Defined in Hackage.Security.Key.Env

Methods

toJSON :: KeyEnv -> m JSValue Source #

Convenience constructors

The usual accessors