Class WeChatAuthenticationToken

  • All Implemented Interfaces:
    Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

    public class WeChatAuthenticationToken
    extends org.springframework.security.authentication.AbstractAuthenticationToken
    See Also:
    Serialized Form
    • Field Detail

      • userDetails

        private final org.springframework.security.core.userdetails.UserDetails userDetails
    • Constructor Detail

      • WeChatAuthenticationToken

        public WeChatAuthenticationToken​(String code)
      • WeChatAuthenticationToken

        public WeChatAuthenticationToken​(org.springframework.security.core.userdetails.UserDetails userDetails)
    • Method Detail

      • getCredentials

        public String getCredentials()
      • getPrincipal

        public Object getPrincipal()