Class OAuth2ResourceOwnerPasswordAuthenticationToken

java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationGrantAuthenticationToken
cn.herodotus.engine.oauth2.authentication.provider.OAuth2ResourceOwnerPasswordAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

public class OAuth2ResourceOwnerPasswordAuthenticationToken extends org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationGrantAuthenticationToken

Description: 自定义密码模式认证Token

Author:
: gengwei.zheng
See Also:
Date:
: 2022/2/22 15:49
  • Constructor Summary

    Constructors
    Constructor
    Description
    OAuth2ResourceOwnerPasswordAuthenticationToken(org.springframework.security.core.Authentication clientPrincipal, Set<String> scopes, Map<String,Object> additionalParameters)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.springframework.security.oauth2.server.authorization.authentication.OAuth2AuthorizationGrantAuthenticationToken

    getAdditionalParameters, getCredentials, getGrantType, getPrincipal

    Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken

    equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.security.Principal

    implies
  • Constructor Details

    • OAuth2ResourceOwnerPasswordAuthenticationToken

      public OAuth2ResourceOwnerPasswordAuthenticationToken(org.springframework.security.core.Authentication clientPrincipal, @Nullable Set<String> scopes, @Nullable Map<String,Object> additionalParameters)
  • Method Details