类 OAuth2SocialCredentialsAuthenticationProvider

所有已实现的接口:
org.springframework.security.authentication.AuthenticationProvider

public class OAuth2SocialCredentialsAuthenticationProvider extends AbstractUserDetailsAuthenticationProvider

Description: 社会化认证 Provider

作者:
: gengwei.zheng
Date:
: 2022/3/31 14:54
  • 构造器详细资料

    • OAuth2SocialCredentialsAuthenticationProvider

      public OAuth2SocialCredentialsAuthenticationProvider(org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService, org.springframework.security.oauth2.server.authorization.token.OAuth2TokenGenerator<? extends org.springframework.security.oauth2.core.OAuth2Token> tokenGenerator, org.springframework.security.core.userdetails.UserDetailsService userDetailsService, cn.herodotus.engine.oauth2.core.properties.OAuth2ComplianceProperties complianceProperties)
  • 方法详细资料

    • additionalAuthenticationChecks

      protected void additionalAuthenticationChecks(org.springframework.security.core.userdetails.UserDetails userDetails, Map<String,Object> additionalParameters) throws org.springframework.security.core.AuthenticationException
      指定者:
      additionalAuthenticationChecks 在类中 AbstractUserDetailsAuthenticationProvider
      抛出:
      org.springframework.security.core.AuthenticationException
    • retrieveUser

      protected org.springframework.security.core.userdetails.UserDetails retrieveUser(Map<String,Object> additionalParameters) throws org.springframework.security.core.AuthenticationException
      指定者:
      retrieveUser 在类中 AbstractUserDetailsAuthenticationProvider
      抛出:
      org.springframework.security.core.AuthenticationException
    • authenticate

      public org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication authentication) throws org.springframework.security.core.AuthenticationException
      抛出:
      org.springframework.security.core.AuthenticationException
    • supports

      public boolean supports(Class<?> authentication)