Skip to content

Commit c273123

Browse files
committed
docs: model.saveAuthorizationCode pkce parameters corrected
1 parent 7be88d6 commit c273123

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/misc/pkce.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ If your Request body contains code_challenge and code_challenge_method then PKCE
9898
B. The Authorization Endpoint responds as usual but records "t(code_verifier)" and the transformation method.
9999

100100
The ``AuthorizeHandler.handle`` saves code challenge and code challenge method automatically via ``model.saveAuthorizationCode``.
101-
Note that this calls your model with additional arguments ``codeChallenge`` and ``codeChallengeMethod``.
101+
Note that this calls your model with additional properties ``code.codeChallenge`` and ``code.codeChallengeMethod``.
102102

103103

104104
3. Access Token Request

docs/model/spec.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ If the ``allowExtendedTokenAttributes`` server option is enabled (see :ref:`OAut
632632

633633
.. _Model#saveAuthorizationCode:
634634

635-
``saveAuthorizationCode(code, client, user, [codeChallenge], [codeChallengeMethod])``
635+
``saveAuthorizationCode(code, client, user)``
636636
=========================================================
637637

638638
Invoked to save an authorization code.

0 commit comments

Comments
 (0)