IndieWeb.Auth.Token.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

delete(token :: binary(), options :: keyword()) :: :ok
Link to this callback

generate(client_id, scope, options)

View Source

Specs

generate(client_id :: binary(), scope :: binary(), options :: keyword()) ::
  binary()

Specs

info(token :: binary(), options :: keyword()) :: nil | {:error, any()} | map()