Skip to content

Commit 911e9b7

Browse files
committed
docs: Rename requiresClientAuthentication to requireClientAuthentication
1 parent d477b31 commit 911e9b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/oauth2-server.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ Retrieves a new token for an authorized token request.
233233
+----------------------------------------------+-----------------+-------------------------------------------------------------------------------------------+
234234
| [options.allowExtendedTokenAttributes=false] | Boolean | Allow extended attributes to be set on the returned token (see remarks section). |
235235
+----------------------------------------------+-----------------+-------------------------------------------------------------------------------------------+
236-
| [options.requiresClientAuthentication={}] | Object | Require a client secret (see remarks section). Defaults to ``true`` for all grant types. |
236+
| [options.requireClientAuthentication={}] | Object | Require a client secret (see remarks section). Defaults to ``true`` for all grant types. |
237237
+----------------------------------------------+-----------------+-------------------------------------------------------------------------------------------+
238238
| [options.alwaysIssueNewRefreshToken=true] | Boolean | Always revoke the used refresh token and issue a new one for the ``refresh_token`` grant. |
239239
+----------------------------------------------+-----------------+-------------------------------------------------------------------------------------------+
@@ -258,7 +258,7 @@ The returned ``Promise`` **must** be ignored if ``callback`` is used.
258258

259259
If ``options.allowExtendedTokenAttributes`` is ``true`` any additional properties set on the object returned from :ref:`Model#saveToken() <Model#saveToken>` are copied to the token response sent to the client.
260260

261-
.. todo:: ``options.requiresClientAuthentication``
261+
.. todo:: ``options.requireClientAuthentication``
262262

263263
``options.extendedGrantTypes`` is an object mapping extension grant URIs to handler types, for example:
264264

0 commit comments

Comments
 (0)