IndieWeb v0.0.37 IndieWeb.Auth.Code View Source

Handles authentication codes for the IndieAuth flow.

Link to this section Summary

Link to this section Functions

Link to this function

destroy(client_id, redirect_uri, args) View Source
destroy(binary(), binary(), map()) :: :ok

Link to this function

generate(client_id, redirect_uri, data \\ nil) View Source
generate(binary(), binary(), map()) :: binary()

Link to this function

persist(code, client_id, redirect_uri, args \\ %{}) View Source
persist(binary(), binary(), binary(), map()) :: :ok

Link to this function

verify(code, client_id, redirect_uri, data \\ %{}) View Source
verify(binary(), binary(), binary(), map()) :: :ok | {:error, any()}