public class BearerTokenAuthentication
extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
| Constructor and Description |
|---|
BearerTokenAuthentication(Object principal,
Object credentials,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
String token) |
BearerTokenAuthentication(Object principal,
Object credentials,
String token) |
| Modifier and Type | Method and Description |
|---|---|
String |
getToken() |
eraseCredentials, getCredentials, getPrincipal, setAuthenticatedequals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toStringpublic BearerTokenAuthentication(Object principal, Object credentials, String token)
public BearerTokenAuthentication(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String token)
public String getToken()
Copyright © 2020. All rights reserved.