Show challenge when requested by server

This commit is contained in:
Fedor Indutny 2021-05-05 17:09:29 -07:00 committed by GitHub
parent 03c68da17d
commit 986d8a66bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 1986 additions and 128 deletions

View file

@ -16,6 +16,7 @@ import {
GroupCredentialsType,
GroupLogResponseType,
ProxiedRequestOptionsType,
ChallengeType,
WebAPIType,
} from './WebAPI';
import createTaskWithTimeout from './TaskWithTimeout';
@ -1915,4 +1916,10 @@ export default class MessageSender {
): Promise<GroupExternalCredentialClass> {
return this.server.getGroupExternalCredential(options);
}
public async sendChallengeResponse(
challengeResponse: ChallengeType
): Promise<void> {
return this.server.sendChallengeResponse(challengeResponse);
}
}