From ccdb57fa3932785811faf9dd42d5998e4f1ea14b Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 8 Dec 2022 10:37:23 +0300 Subject: Spring beans should not be public --- src/main/java/com/juick/config/SignInWithAppleConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/juick/config/SignInWithAppleConfig.java') diff --git a/src/main/java/com/juick/config/SignInWithAppleConfig.java b/src/main/java/com/juick/config/SignInWithAppleConfig.java index 618626d9..85e2bdd1 100644 --- a/src/main/java/com/juick/config/SignInWithAppleConfig.java +++ b/src/main/java/com/juick/config/SignInWithAppleConfig.java @@ -40,7 +40,7 @@ public class SignInWithAppleConfig { private Resource keyPath; @Bean - public AppleClientSecretGenerator clientSecretGenerator() throws IOException, InvalidKeySpecException, NoSuchAlgorithmException { + AppleClientSecretGenerator clientSecretGenerator() throws IOException, InvalidKeySpecException, NoSuchAlgorithmException { byte[] pemData = IOUtils.toByteArray(keyPath.getInputStream()); return new AppleClientSecretGenerator(appId, teamId, keyId, pemData); } -- cgit v1.2.3