| | |
| | | import org.springframework.security.oauth2.provider.*; |
| | | import org.springframework.security.oauth2.provider.token.AbstractTokenGranter; |
| | | import org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.LinkedHashMap; |
| | |
| | | String source = socialProperties.getAlias().getOrDefault(sourceParameter, sourceParameter); |
| | | // 开放平台授权码 |
| | | String code = parameters.get("code"); |
| | | // 开放平台状态吗 |
| | | // 开放平台状态码 |
| | | String state = parameters.get("state"); |
| | | |
| | | // 获取开放平台授权数据 |