From fd3b4c9747bc631a900a881bfdaadc65124cf0d1 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Sat, 2 Oct 2021 12:03:00 +0200 Subject: accounts: Expect a reason for an authorization prompt --- doc/disfluid.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/disfluid.texi b/doc/disfluid.texi index c268bcf..011f3f9 100644 --- a/doc/disfluid.texi +++ b/doc/disfluid.texi @@ -1815,9 +1815,10 @@ In any case, when you don’t specify a value, it’s as if you passed This function is called when an explicit user authorization is required, for instance because there is no refresh token and the access token expired. The function takes an URI as argument, with an -additional @code{#:issuer} keyword argument containing the issuer. In -this function, you should ask the user to browse this URI so that your -application gets the authorization code. +additional @code{#:reason} keyword argument containing the reason for +the authorization as a string. In this function, you should present +the reason to the user and ask the user to browse this URI so that +your application gets the authorization code. @end defvr @defvr {Parameter} anonymous-http-request -- cgit v1.2.3