Add exposed ldap tests

This commit is contained in:
Johannes Zellner
2021-12-23 21:31:48 +01:00
parent 9ad7123da4
commit 7117c17777
3 changed files with 294 additions and 58 deletions
+1
View File
@@ -332,6 +332,7 @@ async function verifyAppPassword(userId, password, identifier) {
throw new BoxError(BoxError.INVALID_CREDENTIALS);
}
// identifier is only used to check if password is valid for a specific app
async function verify(userId, password, identifier) {
assert.strictEqual(typeof userId, 'string');
assert.strictEqual(typeof password, 'string');