We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68d01ad commit 6c4f73aCopy full SHA for 6c4f73a
index.d.ts
@@ -277,6 +277,7 @@ declare namespace OAuth2Server {
277
278
/**
279
* 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.
281
*
282
*/
283
verifyScope?(token: Token, scope: string | string[], callback?: Callback<boolean>): Promise<boolean>;
0 commit comments