diff --git a/verify-service/src/main/java/io/inji/verify/config/AppConfig.java b/verify-service/src/main/java/io/inji/verify/config/AppConfig.java new file mode 100644 index 00000000..169adc54 --- /dev/null +++ b/verify-service/src/main/java/io/inji/verify/config/AppConfig.java @@ -0,0 +1,19 @@ +package io.inji.verify.config; + +import com.nimbusds.jose.shaded.gson.Gson; +import io.mosip.vercred.vcverifier.CredentialsVerifier; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +public class AppConfig { + @Bean + public CredentialsVerifier credentialsVerifier() { + return new CredentialsVerifier(); + } + + @Bean + public Gson gson() { + return new Gson(); + } +}