Macaroon.Serializers.Binary (macaroon v0.2.0)

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)

Link to this function

encode(macaroon, atom)

Specs

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