@@ -341,7 +341,7 @@ An ``Object`` representing the authorization code and associated data.
341
341
+============================+========+===============================================================+
342
342
| code | Object | The return value. |
343
343
+----------------------------+--------+---------------------------------------------------------------+
344
- | code.code | String | The authorization code passed to ``getAuthorizationCode() ``. |
344
+ | code.authorizationCode | String | The authorization code passed to ``getAuthorizationCode() ``. |
345
345
+----------------------------+--------+---------------------------------------------------------------+
346
346
| code.expiresAt | Date | The expiry time of the authorization code. |
347
347
+----------------------------+--------+---------------------------------------------------------------+
@@ -830,27 +830,27 @@ This model function is **required** if the ``authorization_code`` grant is used.
830
830
831
831
**Arguments: **
832
832
833
- +--------------------+----------+---------------------------------------------------------------------+
834
- | Name | Type | Description |
835
- +====================+==========+=====================================================================+
836
- | code | Object | The return value. |
837
- +--------------------+----------+---------------------------------------------------------------------+
838
- | code.code | String | The authorization code. |
839
- +--------------------+----------+---------------------------------------------------------------------+
840
- | code.expiresAt | Date | The expiry time of the authorization code. |
841
- +--------------------+----------+---------------------------------------------------------------------+
842
- | [code.redirectUri] | String | The redirect URI of the authorization code. |
843
- +--------------------+----------+---------------------------------------------------------------------+
844
- | [code.scope] | String | The authorized scope of the authorization code. |
845
- +--------------------+----------+---------------------------------------------------------------------+
846
- | code.client | Object | The client associated with the authorization code. |
847
- +--------------------+----------+---------------------------------------------------------------------+
848
- | code.client.id | String | A unique string identifying the client. |
849
- +--------------------+----------+---------------------------------------------------------------------+
850
- | code.user | Object | The user associated with the authorization code. |
851
- +--------------------+----------+---------------------------------------------------------------------+
852
- | [callback] | Function | Node-style callback to be used instead of the returned ``Promise ``. |
853
- +--------------------+----------+---------------------------------------------------------------------+
833
+ +------------------------ +----------+---------------------------------------------------------------------+
834
+ | Name | Type | Description |
835
+ +======================== +==========+=====================================================================+
836
+ | code | Object | The return value. |
837
+ +------------------------ +----------+---------------------------------------------------------------------+
838
+ | code.authorizationCode | String | The authorization code. |
839
+ +------------------------ +----------+---------------------------------------------------------------------+
840
+ | code.expiresAt | Date | The expiry time of the authorization code. |
841
+ +------------------------ +----------+---------------------------------------------------------------------+
842
+ | [code.redirectUri] | String | The redirect URI of the authorization code. |
843
+ +------------------------ +----------+---------------------------------------------------------------------+
844
+ | [code.scope] | String | The authorized scope of the authorization code. |
845
+ +------------------------ +----------+---------------------------------------------------------------------+
846
+ | code.client | Object | The client associated with the authorization code. |
847
+ +------------------------ +----------+---------------------------------------------------------------------+
848
+ | code.client.id | String | A unique string identifying the client. |
849
+ +------------------------ +----------+---------------------------------------------------------------------+
850
+ | code.user | Object | The user associated with the authorization code. |
851
+ +------------------------ +----------+---------------------------------------------------------------------+
852
+ | [callback] | Function | Node-style callback to be used instead of the returned ``Promise ``. |
853
+ +------------------------ +----------+---------------------------------------------------------------------+
854
854
855
855
**Return value: **
856
856
0 commit comments