Siwa.RequestAuth.ReplayStore behaviour (siwa v0.1.1)

Copy Markdown

Summary

Functions

Returns a specification to start this module under a supervisor.

Callbacks

consume(binary, pos_integer)

@callback consume(binary(), pos_integer()) :: :ok | {:error, term()}

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

consume(key, expires_at_unix)

start_link(opts \\ [])