Allow use of the token returned with spam challenges as auth for the challenge verification request

This commit is contained in:
Jonathan Klabunde Tomer
2023-07-06 18:25:19 -04:00
committed by GitHub
parent ef1a8fc50f
commit 098b177bd3
9 changed files with 363 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
/*
* Copyright 2021-2022 Signal Messenger, LLC
* SPDX-License-Identifier: AGPL-3.0-only
*/
package org.whispersystems.textsecuregcm.configuration;
import java.time.Duration;
import org.whispersystems.textsecuregcm.configuration.secrets.SecretBytes;
public record ChallengeConfiguration(SecretBytes blindingSecret, Duration tokenTtl) {
}