mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
fix(cognito): restore the SecureRandom import (#2337)
#2139 introduced `new SecureRandom()` in `ensureRefreshTokenSecret`, which compiled under the file's wildcard `import java.security.*`. #1881 expanded that wildcard into explicit imports without `SecureRandom`. Both PRs were green on their own branches; the merged result does not compile, so main has been failing at `CognitoService.java:2242 cannot find symbol: class SecureRandom` since #1881 landed.
This commit is contained in:
1 parent
33d35b2079
commit
7a2dc53b96
1 file changed
+1
@@ -41,6 +41,7 @@ import java.security.KeyPairGenerator;
|
||||
import java.security.MessageDigest;
|
||||
import java.security.PrivateKey;
|
||||
import java.security.PublicKey;
|
||||
import java.security.SecureRandom;
|
||||
import java.security.Signature;
|
||||
import java.security.interfaces.RSAPublicKey;
|
||||
import java.security.spec.PKCS8EncodedKeySpec;
|
||||
|
||||
Reference in new issue
Block a user