mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 09:10:35 +01:00
Allow use of the token returned with spam challenges as auth for the challenge verification request
This commit is contained in:
committed by
GitHub
parent
ef1a8fc50f
commit
098b177bd3
@@ -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) {
|
||||
}
|
||||
Reference in New Issue
Block a user