Macfly.Caveat.ThirdParty.Ticket (macfly v0.2.15)
Summary
Types
@type t() :: %Macfly.Caveat.ThirdParty.Ticket{ caveats: [Macfly.Caveat.t()], discharge_key: binary() }
Functions
Link to this function
discharge_macaroon(ciphertext, tp_key, location)
@spec discharge_macaroon(Macfly.Crypto.ciphertext(), Macfly.Crypto.key(), String.t()) :: {:ok, Macfly.Macaroon.t()} | {:error, any()}
Link to this function
recover(ciphertext, key, options \\ Macfly.default_options())
@spec recover(Macfly.Crypto.ciphertext(), Macfly.Crypto.key(), Macfly.Options.t()) :: {:ok, t()} | {:error, any()}
Link to this function
seal(ticket, tp_key)
@spec seal(t(), Macfly.Crypto.key()) :: binary()