public class OidcProfile extends AbstractJwtProfile
This class is the user profile for sites using OpenID Connect protocol.
It is returned by the OidcClient
.
logger, SEPARATOR
Constructor and Description |
---|
OidcProfile() |
Modifier and Type | Method and Description |
---|---|
void |
clearSensitiveData() |
com.nimbusds.oauth2.sdk.token.AccessToken |
getAccessToken() |
String |
getAcr() |
Object |
getAmr() |
Date |
getAuthTime() |
String |
getAzp() |
String |
getDisplayName()
Return the displayed name of the user.
|
Boolean |
getEmailVerified() |
String |
getFirstName()
Return the first name of the user.
|
com.nimbusds.jwt.JWT |
getIdToken() |
String |
getIdTokenString() |
String |
getLocation()
Return the location of the user.
|
String |
getMiddleName() |
String |
getNickname() |
String |
getNonce() |
String |
getPhoneNumber() |
Boolean |
getPhoneNumberVerified() |
URI |
getPictureUrl()
Return the url of the picture of the user.
|
URI |
getProfileUrl()
Return the url of the profile of the user.
|
com.nimbusds.oauth2.sdk.token.RefreshToken |
getRefreshToken() |
Date |
getUpdatedAt() |
String |
getUsername()
Return the username of the user.
|
void |
setAccessToken(com.nimbusds.oauth2.sdk.token.AccessToken accessToken) |
void |
setIdTokenString(String idToken) |
void |
setRefreshToken(com.nimbusds.oauth2.sdk.token.RefreshToken refreshToken) |
getAudience, getExpirationDate, getIssuedAt, getIssuer, getNotBefore, getSubject
getEmail, getFamilyName, getGender, getLocale
addAttribute, addAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, containsAttribute, getAttribute, getAttribute, getAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, setClientName, setId, setLinkedId, setRemembered, toString, writeExternal
public String getFirstName()
CommonProfile
getFirstName
in class CommonProfile
public String getMiddleName()
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public String getNickname()
public String getUsername()
CommonProfile
getUsername
in class CommonProfile
public URI getPictureUrl()
CommonProfile
getPictureUrl
in class CommonProfile
public URI getProfileUrl()
CommonProfile
getProfileUrl
in class CommonProfile
public String getLocation()
CommonProfile
getLocation
in class CommonProfile
public Boolean getEmailVerified()
public String getPhoneNumber()
public Boolean getPhoneNumberVerified()
public Date getUpdatedAt()
public Date getAuthTime()
public String getNonce()
public String getAcr()
public Object getAmr()
public String getAzp()
public void setAccessToken(com.nimbusds.oauth2.sdk.token.AccessToken accessToken)
public com.nimbusds.oauth2.sdk.token.AccessToken getAccessToken()
public String getIdTokenString()
public void setIdTokenString(String idToken)
public com.nimbusds.jwt.JWT getIdToken()
public com.nimbusds.oauth2.sdk.token.RefreshToken getRefreshToken()
public void setRefreshToken(com.nimbusds.oauth2.sdk.token.RefreshToken refreshToken)
public void clearSensitiveData()
clearSensitiveData
in class UserProfile
Copyright © 2017. All rights reserved.