Class WeChatUserDetailsServiceImpl

  • All Implemented Interfaces:
    org.oxerr.spring.security.wechat.core.userdetails.WeChatUserDetailsService

    @Service
    public class WeChatUserDetailsServiceImpl
    extends Object
    implements org.oxerr.spring.security.wechat.core.userdetails.WeChatUserDetailsService
    • Field Detail

      • oauthApi

        private com.foxinmy.weixin4j.mp.api.OauthApi oauthApi
    • Constructor Detail

      • WeChatUserDetailsServiceImpl

        @Autowired
        public WeChatUserDetailsServiceImpl​(com.foxinmy.weixin4j.mp.api.OauthApi oauthApi)
    • Method Detail

      • loadUserByCode

        public org.springframework.security.core.userdetails.UserDetails loadUserByCode​(String code)
                                                                                 throws org.springframework.security.core.AuthenticationException
        Specified by:
        loadUserByCode in interface org.oxerr.spring.security.wechat.core.userdetails.WeChatUserDetailsService
        Throws:
        org.springframework.security.core.AuthenticationException