View Source Macfly.HTTP.Fake (macfly v0.2.16)

Summary

Types

@type behavior() ::
  :discharge
  | :poll
  | :user_interactive
  | :error
  | :"500"
  | :bogus
  | :require_auth
  | :not_ready

Functions

Link to this function

add_third_party(m, behaviors)

View Source
@spec add_third_party(Macfly.Macaroon.t(), [behavior()]) :: Macfly.Macaroon.t()
Link to this function

do_behavior_poll(list, t, h)

View Source

Callback implementation for Macfly.HTTP.get/2.

Callback implementation for Macfly.HTTP.post/3.

@spec ticket([behavior()]) :: binary()