Macfly.Caveat.ThirdParty (macfly v0.2.11)

Summary

Types

@type t() :: %Macfly.Caveat.ThirdParty{
  location: String.t(),
  ticket: binary(),
  verifier_key: binary()
}

Functions

Link to this function

build(location, tail, tp_key, caveats \\ [])

Link to this function

recover_ticket(third_party, tp_key, options \\ Macfly.default_options())

@spec recover_ticket(t() | binary(), Macfly.Crypto.key(), Macfly.Options.t()) ::
  {:ok, Macfly.Caveat.ThirdParty.Ticket.t()} | {:error, any()}