Ueberauth.Strategy.Steam (Überauth Steam v0.2.0)

Copy Markdown View Source

Steam OpenID for Überauth.

Summary

Functions

Stores the raw information obtained from the Steam callback.

Handles initial request for Steam authentication.

Fetches the fields to populate the info section of the Ueberauth.Auth struct.

Fetches the uid field from the response.

Functions

default_options()

Callback implementation for Ueberauth.Strategy.default_options/0.

extra(conn)

@spec extra(Plug.Conn.t()) :: Ueberauth.Auth.Extra.t()

Stores the raw information obtained from the Steam callback.

Returns the steamuser saved in the conn as raw_info.

handle_request!(conn)

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

Handles initial request for Steam authentication.

Redirects the given conn to the Steam login page.

info(conn)

@spec info(Plug.Conn.t()) :: Ueberauth.Auth.Info.t()

Fetches the fields to populate the info section of the Ueberauth.Auth struct.

Takes the information from the steamuser saved in the conn.

uid(conn)

@spec uid(Plug.Conn.t()) :: pos_integer()

Fetches the uid field from the response.

Takes the steamid from the steamuser saved in the conn.