Class WeChatUserDetailsServiceImpl
- java.lang.Object
-
- org.oxerr.spring.security.wechat.samples.helloworld.service.impl.WeChatUserDetailsServiceImpl
-
- All Implemented Interfaces:
WeChatUserDetailsService
@Service public class WeChatUserDetailsServiceImpl extends Object implements WeChatUserDetailsService
-
-
Field Summary
Fields Modifier and Type Field Description private com.foxinmy.weixin4j.mp.api.OauthApi
oauthApi
-
Constructor Summary
Constructors Constructor Description WeChatUserDetailsServiceImpl(com.foxinmy.weixin4j.mp.api.OauthApi oauthApi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.userdetails.UserDetails
loadUserByCode(String code)
-
-
-
Method Detail
-
loadUserByCode
public org.springframework.security.core.userdetails.UserDetails loadUserByCode(String code) throws org.springframework.security.core.AuthenticationException
- Specified by:
loadUserByCode
in interfaceWeChatUserDetailsService
- Throws:
org.springframework.security.core.AuthenticationException
-
-