Skip to content

Commit 7be88d6

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

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

docs/model/spec.rst

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -645,27 +645,27 @@ This model function is **required** if the ``authorization_code`` grant is used.
645645

646646
**Arguments:**
647647

648-
+------------------------+----------+---------------------------------------------------------------------+
649-
| Name | Type | Description |
650-
+========================+==========+=====================================================================+
651-
| code | Object | The code to be saved. |
652-
+------------------------+----------+---------------------------------------------------------------------+
653-
| code.authorizationCode | String | The authorization code to be saved. |
654-
+------------------------+----------+---------------------------------------------------------------------+
655-
| code.expiresAt | Date | The expiry time of the authorization code. |
656-
+------------------------+----------+---------------------------------------------------------------------+
657-
| code.redirectUri | String | The redirect URI associated with the authorization code. |
658-
+------------------------+----------+---------------------------------------------------------------------+
659-
| [code.scope] | String | The authorized scope of the authorization code. |
660-
+------------------------+----------+---------------------------------------------------------------------+
661-
| client | Object | The client associated with the authorization code. |
662-
+------------------------+----------+---------------------------------------------------------------------+
663-
| user | Object | The user associated with the authorization code. |
664-
+------------------------+----------+---------------------------------------------------------------------+
665-
| codeChallenge | String | The code challenge; hash or plain. Only present in PKCE requests. |
666-
+------------------------+----------+---------------------------------------------------------------------+
667-
| codeChallengeMethod | String | One of 'plain' or 'S256'. Only present in PKCE requests. |
668-
+------------------------+----------+---------------------------------------------------------------------+
648+
+----------------------------+----------+---------------------------------------------------------------------+
649+
| Name | Type | Description |
650+
+----------------------------+----------+---------------------------------------------------------------------+
651+
| code | Object | The code to be saved. |
652+
+----------------------------+----------+---------------------------------------------------------------------+
653+
| code.authorizationCode | String | The authorization code to be saved. |
654+
+----------------------------+----------+---------------------------------------------------------------------+
655+
| code.expiresAt | Date | The expiry time of the authorization code. |
656+
+----------------------------+----------+---------------------------------------------------------------------+
657+
| code.redirectUri | String | The redirect URI associated with the authorization code. |
658+
+----------------------------+----------+---------------------------------------------------------------------+
659+
| [code.scope] | String | The authorized scope of the authorization code. |
660+
+----------------------------+----------+---------------------------------------------------------------------+
661+
| [code.codeChallenge] | String | The code challenge; hash or plain. Only present in PKCE requests. |
662+
+----------------------------+----------+---------------------------------------------------------------------+
663+
| [code.codeChallengeMethod] | String | One of 'plain' or 'S256'. Only present in PKCE requests. |
664+
+----------------------------+----------+---------------------------------------------------------------------+
665+
| client | Object | The client associated with the authorization code. |
666+
+----------------------------+----------+---------------------------------------------------------------------+
667+
| user | Object | The user associated with the authorization code. |
668+
+----------------------------+----------+---------------------------------------------------------------------+
669669

670670
For PKCE requests, see :ref:`PKCE#authorizationRequest`.
671671

0 commit comments

Comments
 (0)