Ueberauth.Strategy.Mastodon.OptionsParser (ueberauth_mastodon v0.2.0) View Source

Parses configuration secrets at runtime.

Link to this section Summary

Link to this section Functions

Specs

from_conn!(conn :: Plug.Conn.t()) :: options :: Keyword.t()

Similar to Ueberauth.Strategy.Helpers.options/1 except it also parses secrets with Ueberauth.Strategy.Mastodon.Secret.parse_secret/1

If any required options are missing or invalid, it will raise.