Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
class HasAsapError e where Source #
asapMissingEnv :: Prism' e String Source #
asapInvalidSecret :: Prism' e () Source #
Instances
HasAsapError AsapError Source # | |
Defined in Web.JWT.ASAP.Error |
asapLookupEnv :: (MonadError e m, HasAsapError e, MonadEnv m) => String -> m String Source #
timedClaim :: Expiry -> NominalDiffTime -> UUID -> JWTClaimsSet Source #
expiringClaim :: Expiry -> IO JWTClaimsSet Source #
maxAgeClaimGenerator' :: Monad m => MaxAge -> m NominalDiffTime -> m JWTClaimsSet -> (JWTClaimsSet -> m ()) -> m JWTClaimsSet -> m JWTClaimsSet Source #
maxAgeClaimGenerator :: MaxAge -> Expiry -> IO (IO JWTClaimsSet) Source #
asapReadRsaSecret :: (HasAsapError e, MonadError e m) => ByteString -> m Signer Source #
asapAuthHeader :: Signer -> JOSEHeader -> JWTClaimsSet -> Text Source #
asapAuthHeaderFromEnv :: (HasAsapError e, MonadError e m, MonadEnv m) => JOSEHeader -> JWTClaimsSet -> m Text Source #
asapSignerFromEnv :: (HasAsapError e, MonadError e m, MonadEnv m) => m Signer Source #
laterThanMaxAge :: MaxAge -> NumericDate -> NominalDiffTime -> Bool Source #