diff --git a/index.d.ts b/index.d.ts index 3d780b3..777bda8 100644 --- a/index.d.ts +++ b/index.d.ts @@ -322,6 +322,12 @@ declare namespace OAuth2Server { * */ validateScope?(user: User, client: Client, scope: string | string[], callback?: Callback): Promise; + + /** + * Invoked to check if the provided `redirectUri` is valid for a particular `client`. + * + */ + validateRedirectUri?(redirect_uri: string, client: Client): Promise; } interface PasswordModel extends BaseModel, RequestAuthenticationModel {