Skip to content

Commit 8a32b95

Browse files
authored
Merge pull request #355 from FlorianB-DE/master
added proper typing to requireClientAuthentication in TokenOptions
2 parents b9dcd8f + 7fb5a2c commit 8a32b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ declare namespace OAuth2Server {
222222
/**
223223
* Require a client secret. Defaults to true for all grant types.
224224
*/
225-
requireClientAuthentication?: {};
225+
requireClientAuthentication?: Record<string, boolean>;
226226

227227
/**
228228
* Always revoke the used refresh token and issue a new one for the refresh_token grant.

0 commit comments

Comments
 (0)