aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Crypto/Macaroon/Serializer
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto/Macaroon/Serializer')
-rw-r--r--src/Crypto/Macaroon/Serializer/Base64.hs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Crypto/Macaroon/Serializer/Base64.hs b/src/Crypto/Macaroon/Serializer/Base64.hs
index 6fc8fcb..f6527c2 100644
--- a/src/Crypto/Macaroon/Serializer/Base64.hs
+++ b/src/Crypto/Macaroon/Serializer/Base64.hs
@@ -16,22 +16,22 @@ module Crypto.Macaroon.Serializer.Base64 (
16 , deserialize 16 , deserialize
17 ) where 17 ) where
18 18
19import Control.Applicative 19import Control.Applicative
20import Control.Monad 20import Control.Monad
21import qualified Data.ByteString as BS 21import Crypto.Macaroon.Internal
22import qualified Data.ByteString.Base64.URL as B64 22import Data.Attoparsec.ByteString
23import qualified Data.ByteString.Char8 as B8
24import Data.Attoparsec.ByteString
25import qualified Data.Attoparsec.ByteString.Char8 as A8 23import qualified Data.Attoparsec.ByteString.Char8 as A8
26import Data.Bits 24import Data.Bits
25import qualified Data.ByteString as BS
26import qualified Data.ByteString.Base64.URL as B64
27import qualified Data.ByteString.Char8 as B8
27import Data.Char 28import Data.Char
28import Data.Hex 29import Data.Hex
29import Data.Int 30import Data.Int
30import Data.List 31import Data.List
31import Data.Maybe 32import Data.Maybe
32import Data.Word
33import Data.Serialize 33import Data.Serialize
34import Crypto.Macaroon.Internal 34import Data.Word
35 35
36 36
37-- | Serialize a macaroon in an URL-safe Base64 encoding 37-- | Serialize a macaroon in an URL-safe Base64 encoding