mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Show challenge when requested by server
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user