File tree Expand file tree Collapse file tree
core/src/main/java/io/github/simpleauth0/core/jose/key Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import io .github .simpleauth0 .core .SimpleAuth0Properties ;
44import io .github .simpleauth0 .core .utils .PemUtils ;
55import lombok .extern .slf4j .Slf4j ;
6- import lombok .var ;
76
87import java .security .interfaces .RSAPrivateKey ;
98import java .security .interfaces .RSAPublicKey ;
@@ -28,7 +27,7 @@ public boolean supports(KeySource source) {
2827
2928 @ Override
3029 public RSAPrivateKey loadPrivateKey () {
31- var location = properties .getToken ().getJwt ().getFile ().getPrivateKeyLocation ();
30+ String location = properties .getToken ().getJwt ().getFile ().getPrivateKeyLocation ();
3231 try {
3332 return PemUtils .loadPrivateKey (location );
3433 } catch (Exception e ) {
@@ -39,7 +38,7 @@ public RSAPrivateKey loadPrivateKey() {
3938
4039 @ Override
4140 public RSAPublicKey loadPublicKey () {
42- var location = properties .getToken ().getJwt ().getFile ().getPublicKeyLocation ();
41+ String location = properties .getToken ().getJwt ().getFile ().getPublicKeyLocation ();
4342 try {
4443 return PemUtils .loadPublicKey (location );
4544 } catch (Exception e ) {
You can’t perform that action at this time.
0 commit comments