CPub.Web.Authentication.Strategy.Mastodon.Instance (CPub v0.3.0) View Source

An Ueberauth strategy for Pleroma/Mastodon compatible providers.

This Strategy requires a site, client_id and client_secret and is limited to a single Pleroma/Mastodon instance.

Link to this section Summary

Link to this section Functions

Specs

Callback implementation for Ueberauth.Strategy.credentials/1.

Specs

Callback implementation for Ueberauth.Strategy.extra/1.

Specs

handle_callback!(Plug.Conn.t()) :: Plug.Conn.t()

Callback implementation for Ueberauth.Strategy.handle_callback!/1.

Callback implementation for Ueberauth.Strategy.handle_cleanup!/1.

Specs

handle_request!(Plug.Conn.t()) :: Plug.Conn.t()

Callback implementation for Ueberauth.Strategy.handle_request!/1.

Specs

Callback implementation for Ueberauth.Strategy.info/1.

Specs

uid(Plug.Conn.t()) :: String.t()

Callback implementation for Ueberauth.Strategy.uid/1.