hmacaroons-0.5.0.0: Haskell implementation of macaroons

Copyright(c) 2015 Julien Tanguy
LicenseBSD3
Maintainerjulien.tanguy@jhome.fr
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Crypto.Macaroon.Serializer.Base64

Description

Base64 serializer/deserializer

Synopsis

Documentation

serialize :: Macaroon -> ByteString

Serialize a macaroon in an URL-safe Base64 encoding

deserialize :: ByteString -> Either String Macaroon

Deserialize a macaroon from a base64url-encoded ByteString