Skip to content

Commit 6c4f73a

Browse files
Fix PR comments.
1 parent 68d01ad commit 6c4f73a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ declare namespace OAuth2Server {
277277

278278
/**
279279
* Invoked during request authentication to check if the provided access token was authorized the requested scopes.
280+
* Optional, if a custom authenticateHandler is used or if there is no scope part of the request.
280281
*
281282
*/
282283
verifyScope?(token: Token, scope: string | string[], callback?: Callback<boolean>): Promise<boolean>;

0 commit comments

Comments
 (0)