public class FusionAuthUserDetails extends Object implements org.springframework.security.core.userdetails.UserDetails
| Modifier and Type | Field and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
claims |
org.springframework.security.oauth2.common.OAuth2AccessToken |
token |
String |
userId |
String |
username |
| Constructor and Description |
|---|
FusionAuthUserDetails(com.fasterxml.jackson.databind.JsonNode claims,
org.springframework.security.oauth2.common.OAuth2AccessToken token) |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
String |
getPassword() |
String |
getUsername() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
public com.fasterxml.jackson.databind.JsonNode claims
public org.springframework.security.oauth2.common.OAuth2AccessToken token
public String userId
public String username
public FusionAuthUserDetails(com.fasterxml.jackson.databind.JsonNode claims,
org.springframework.security.oauth2.common.OAuth2AccessToken token)
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.userdetails.UserDetailspublic String getPassword()
getPassword in interface org.springframework.security.core.userdetails.UserDetailspublic String getUsername()
getUsername in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonExpired()
isAccountNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonLocked()
isAccountNonLocked in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isEnabled()
isEnabled in interface org.springframework.security.core.userdetails.UserDetailsCopyright © 2018. All rights reserved.