类 OAuth2ResourceOwnerPasswordAuthenticationConverter
java.lang.Object
cn.herodotus.engine.oauth2.authentication.provider.AbstractAuthenticationConverter
cn.herodotus.engine.oauth2.authentication.provider.OAuth2ResourceOwnerPasswordAuthenticationConverter
- 所有已实现的接口:
org.springframework.security.web.authentication.AuthenticationConverter
public final class OAuth2ResourceOwnerPasswordAuthenticationConverter
extends AbstractAuthenticationConverter
Description: 自定义密码模式认证转换器
AuthenticationConverter 类似于以前的 AbstractTokenGranter
主要用途是从请求中获取参数,并拼装Token类
- 作者:
- : gengwei.zheng
- Date:
- : 2022/2/22 17:03
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.security.core.Authenticationconvert(jakarta.servlet.http.HttpServletRequest request) 从类继承的方法 cn.herodotus.engine.oauth2.authentication.provider.AbstractAuthenticationConverter
decrypt, decrypt, getAdditionalParameters, getClientPrincipal, getRequestedScopes
-
构造器详细资料
-
OAuth2ResourceOwnerPasswordAuthenticationConverter
-
-
方法详细资料
-
convert
@Nullable public org.springframework.security.core.Authentication convert(jakarta.servlet.http.HttpServletRequest request)
-