Make BraintreeConfiguration.publicKey a SecretString

This commit is contained in:
Chris Eager
2025-10-01 12:15:37 -05:00
committed by Chris Eager
parent 9384813752
commit 6e42b2898c
6 changed files with 6 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ import org.whispersystems.textsecuregcm.subscriptions.PaymentMethod;
* GraphQL HTTP client; if `null`, uses the global default configuration
*/
public record BraintreeConfiguration(@NotBlank String merchantId,
@NotBlank String publicKey,
@NotNull SecretString publicKey,
@NotNull SecretString privateKey,
@NotBlank String environment,
@Valid @NotEmpty Map<PaymentMethod, Set<@NotBlank String>> supportedCurrenciesByPaymentMethod,