Steamex.Auth.Phoenix.View

View helpers for using Steamex auth with Phoenix.

Source

Summary

steamex_auth_url(conn, options \\ [])

Returns the URL that the user must visit to begin the Steam authentication process

Functions

steamex_auth_url(conn, options \\ [])

Specs:

Returns the URL that the user must visit to begin the Steam authentication process.

You can pass the option :redirect_to in order to redirect to a page other than the default upon successful authentication. This option allows any path to be specified, but this value will be validated to ensure it is a local path upon successful authentication.

You can override the Steamex auth return_to helper name (by default, it is :steamex_auth_return_to_url) by passing the option :return_to_helper. If you have used the default options for steamex_route_auth, you do not need to set this option.

Source