Macaroon.Verification (macaroon v0.1.0)
Module used to verify a Macaroon
Link to this section Summary
Link to this section Functions
Link to this function
satisfy_exact(predicate)
Link to this function
satisfy_exact(verification_context, predicate)
Specs
satisfy_exact(Macaroon.Types.Verification.VerifyParameters.t(), binary()) :: Macaroon.Types.Verification.VerifyParameters.t()
Link to this function
satisfy_general(callback)
Specs
Link to this function
satisfy_general(verification_context, callback)
Specs
satisfy_general( Macaroon.Types.Verification.VerifyParameters.t(), (... -> any()) ) :: Macaroon.Types.Verification.VerifyParameters.t()
Link to this function
verify(verification_params, macaroon, key, discharge_macaroons \\ [])
Specs
verify( Macaroon.Types.Verification.VerifyParameters.t(), Macaroon.Types.Macaroon.t(), binary(), maybe_improper_list() ) :: {:error, Macaroon.Types.Verification.VerifyContext.t()} | {:ok, Macaroon.Types.Verification.VerifyContext.t()}