类的使用
cn.bbwres.biscuit.security.oauth2.grant.username.UsernamePasswordAuthenticationGrant
-
cn.bbwres.biscuit.security.oauth2.config中UsernamePasswordAuthenticationGrant的使用
修饰符和类型方法说明CustomGrantConfig.usernamePasswordAuthenticationGrant(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, org.springframework.security.oauth2.server.authorization.token.DelegatingOAuth2TokenGenerator tokenGenerator, org.springframework.security.core.userdetails.UserDetailsService userDetailsService) 用户名密码方式登录的GrantAuthenticationProvider