IndieWeb.Auth (IndieWeb v0.0.66) View Source

Provides logic for handling IndieAuth interactions.

Link to this section Summary

Functions

Generates an authentication URL.

Provides endpoint information for well known endpoints in IndieAuth.

Link to this section Functions

Link to this function

authenticate(params, options \\ [])

View Source

Specs

authenticate(map(), keyword()) :: {:ok, any()} | {:error, any()}

Generates an authentication URL.

Depending on the particular response_type, this will generate a URL that can be used to sign in a user.

Specs

endpoint_for(atom(), binary()) :: [binary()] | nil

Provides endpoint information for well known endpoints in IndieAuth.