Class WeChatUserDetailsServiceImpl

    • 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 WeChatUserDetailsService
        Throws:
        org.springframework.security.core.AuthenticationException