Ueberauth Twitch Strategy v0.1.1 Ueberauth.Strategy.Twitch

Provides an Ueberauth strategy for authenticating with Twitch.

Summary

Functions

Includes the credentials from the twitch tv response

Stores the raw information (including the token) obtained from the Twitch Tv callback

Cleans up the private area of the connection used for passing the raw TwitchTv response around during the callback

Handles the initial redirect to the twitch.tv authentication page

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

Fetches the uid field from the twitch tv response. This defaults to the option uid_field which in-turn defaults to login

Functions

auth(conn)
credentials(conn)

Includes the credentials from the twitch tv response.

default_options()
extra(conn)

Stores the raw information (including the token) obtained from the Twitch Tv callback.

handle_cleanup!(conn)

Cleans up the private area of the connection used for passing the raw TwitchTv response around during the callback.

handle_request!(conn)

Handles the initial redirect to the twitch.tv authentication page.

info(conn)

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

uid(conn)

Fetches the uid field from the twitch tv response. This defaults to the option uid_field which in-turn defaults to login