View Source Macfly.Caveat.ThirdParty (macfly v0.2.19)

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 \\ [])

View Source
Link to this function

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

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