From dbc55f2e6694bb15b3161f4726f69226c75b422c Mon Sep 17 00:00:00 2001 From: Marius Butuc Date: Fri, 16 Dec 2022 18:04:23 -0500 Subject: [PATCH] [docs] Reword `OAuth2.Strategy.AuthCode.authorize_url/2` docs I find the existing documentation for `OAuth2.Strategy.AuthCode.authorize_url/2` rather vague/confusing. If my understanding of its responsibility is correct, this is an attempt to improve its documentation. --- lib/oauth2/strategy/auth_code.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/oauth2/strategy/auth_code.ex b/lib/oauth2/strategy/auth_code.ex index 5fed088..faa1337 100644 --- a/lib/oauth2/strategy/auth_code.ex +++ b/lib/oauth2/strategy/auth_code.ex @@ -27,8 +27,8 @@ defmodule OAuth2.Strategy.AuthCode do use OAuth2.Strategy @doc """ - The authorization URL endpoint of the provider. - params additional query parameters for the URL + Configures the authorization URL endpoint of the provider with additional + query parameters. """ @impl true def authorize_url(client, params) do