Skip to content

Commit 35a41cf

Browse files
authored
Merge branch 'master' into dependabot/npm_and_yarn/sinon-15.0.2
2 parents bb3da07 + d5032bb commit 35a41cf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,12 @@ declare namespace OAuth2Server {
322322
*
323323
*/
324324
validateScope?(user: User, client: Client, scope: string | string[], callback?: Callback<string | Falsey>): Promise<string | string[] | Falsey>;
325+
326+
/**
327+
* Invoked to check if the provided `redirectUri` is valid for a particular `client`.
328+
*
329+
*/
330+
validateRedirectUri?(redirect_uri: string, client: Client): Promise<boolean>;
325331
}
326332

327333
interface PasswordModel extends BaseModel, RequestAuthenticationModel {

0 commit comments

Comments
 (0)