MPP.Plug.Config (mpp v0.6.1)

Copy Markdown View Source

Validated configuration for MPP.Plug.

Built once at init time from plug opts. Holds shared endpoint settings and a list of MethodEntry structs — one per accepted payment method.

Summary

Types

t()

@type t() :: %MPP.Plug.Config{
  digest: String.t() | nil,
  expires_in: pos_integer(),
  method_entries: [MPP.Plug.MethodEntry.t()],
  opaque: String.t() | nil,
  realm: String.t(),
  secret_key: String.t()
}