mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 21:08:07 +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
@@ -2,6 +2,7 @@ package org.whispersystems.textsecuregcm.entities;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import java.util.List;
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
@@ -9,6 +10,7 @@ public class RateLimitChallenge {
|
||||
|
||||
@JsonProperty
|
||||
@NotNull
|
||||
@Schema(description="An opaque token to be included along with the challenge result in the verification request")
|
||||
private final String token;
|
||||
|
||||
@JsonProperty
|
||||
|
||||
Reference in New Issue
Block a user