Macaroon.Serializers.Binary (macaroon v0.3.1)

Module used to encode/decode a Macaroon as a binary, and encode it into Base64 (URL Safe, no padding)

Link to this section Summary

Link to this section Functions

Link to this function

create_packet_v1(key, data)

Link to this function

decode(bin_macaroon, atom)

Specs

decode(binary(), :v1) :: Macaroon.Types.Macaroon.t()
Link to this function

encode(macaroon, atom)

Specs

encode(Macaroon.Types.Macaroon.t(), :v1) :: binary() | {:error, any()}