类 OAuth2ResourceOwnerPasswordAuthenticationConverter

java.lang.Object
cn.herodotus.engine.oauth2.authentication.provider.OAuth2ResourceOwnerPasswordAuthenticationConverter
所有已实现的接口:
org.springframework.security.web.authentication.AuthenticationConverter

public final class OAuth2ResourceOwnerPasswordAuthenticationConverter extends Object implements org.springframework.security.web.authentication.AuthenticationConverter

Description: 自定义密码模式认证转换器

AuthenticationConverter 类似于以前的 AbstractTokenGranter 主要用途是从请求中获取参数,并拼装Token类

作者:
: gengwei.zheng
Date:
: 2022/2/22 17:03
  • 构造器详细资料

    • OAuth2ResourceOwnerPasswordAuthenticationConverter

      public OAuth2ResourceOwnerPasswordAuthenticationConverter(HttpCryptoProcessor httpCryptoProcessor)
  • 方法详细资料

    • convert

      @Nullable public org.springframework.security.core.Authentication convert(jakarta.servlet.http.HttpServletRequest request)
      指定者:
      convert 在接口中 org.springframework.security.web.authentication.AuthenticationConverter