Class OAuth2FormLoginAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.UsernamePasswordAuthenticationToken
cn.herodotus.engine.oauth2.authentication.provider.OAuth2FormLoginAuthenticationToken
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class OAuth2FormLoginAuthenticationToken
extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
Description: OAuth2 (Security) 表单登录 Token
- Author:
- : gengwei.zheng
- See Also:
-
UsernamePasswordAuthenticationToken- Serialized Form
- Date:
- : 2022/4/12 10:24
-
Constructor Summary
ConstructorsConstructorDescriptionOAuth2FormLoginAuthenticationToken(Object principal, Object credentials) OAuth2FormLoginAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
Method Summary
Methods inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken
authenticated, eraseCredentials, getCredentials, getPrincipal, setAuthenticated, unauthenticatedMethods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
-
Constructor Details
-
OAuth2FormLoginAuthenticationToken
-
OAuth2FormLoginAuthenticationToken
public OAuth2FormLoginAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-