IndieWeb v0.0.29 IndieWeb.Auth.Code

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)
destroy(binary(), binary(), map()) :: :ok

Link to this function

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

Link to this function

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

Link to this function

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