CoherenceAssent v0.4.0 CoherenceAssent.Strategy.Google View Source

Google OAuth 2.0 strategy.

Link to this section Summary

Link to this section Functions

Link to this function authorize_url(conn, config) View Source
authorize_url(Conn.t(), Keyword.t()) ::
  {:ok, %{conn: Conn.t(), url: String.t()}}
Link to this function callback(conn, config, params) View Source
callback(Conn.t(), Keyword.t(), map()) ::
  {:ok, %{conn: Conn.t(), client: OAuth2.Client.t(), user: map()}}
  | {:error, term()}