File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
java/io/github/simpleauth0/core/i18n Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1+ package io .github .simpleauth0 .core .i18n ;
2+
3+ import org .springframework .context .MessageSource ;
4+ import org .springframework .context .annotation .Bean ;
5+ import org .springframework .context .annotation .Configuration ;
6+
7+ /**
8+ * @author: ReLive27
9+ * @date: 2025/11/19 23:16
10+ */
11+ @ Configuration (proxyBeanMethods = false )
12+ public class MessageSourceAutoConfiguration {
13+
14+ @ Bean
15+ public MessageSource messageSource () {
16+ return new SimpleAuth0MessageSource ();
17+ }
18+
19+ }
Original file line number Diff line number Diff line change 11org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
2- io.github.simpleauth0.core.configuration.AuthTokenAutoConfiguration
2+ io.github.simpleauth0.core.configuration.AuthTokenAutoConfiguration, \
3+ io.github.simpleauth0.core.i18n.MessageSourceAutoConfiguration
You can’t perform that action at this time.
0 commit comments