IndieWeb.Auth.Scope.Adapter behaviour (IndieWeb v0.0.49) View Source

Provides an abstraction regarding code actions for IndieAuth.

Link to this section Summary

Link to this section Callbacks

Specs

get(code :: binary(), options :: keyword()) :: binary() | nil
Link to this callback

persist(code, scope, options)

View Source

Specs

persist(code :: binary(), scope :: binary(), options :: keyword()) ::
  :ok | {:error, any()}