public class OidcProfile extends CommonProfile implements Externalizable
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.BearerAccessToken |
getAccessToken() |
com.nimbusds.jwt.JWT |
getIdToken() |
String |
getIdTokenString() |
String |
getRefreshTokenString() |
void |
readExternal(ObjectInput in) |
void |
setAccessToken(com.nimbusds.oauth2.sdk.token.BearerAccessToken accessToken) |
void |
setIdTokenString(String idTokenString) |
void |
setRefreshTokenString(String refreshTokenString) |
void |
writeExternal(ObjectOutput out) |
getDisplayName, getEmail, getFamilyName, getFirstName, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, getUsername
addAttribute, addAttributes, addPermission, addPermissions, addPermissions, addRole, addRoles, addRoles, build, getAttribute, getAttribute, getAttributes, getAttributesDefinition, getClientName, getId, getOldTypedId, getPermissions, getRoles, getTypedId, isRemembered, removeAttribute, setClientName, setId, setRemembered, toString
public void setAccessToken(com.nimbusds.oauth2.sdk.token.BearerAccessToken accessToken)
public com.nimbusds.oauth2.sdk.token.BearerAccessToken getAccessToken()
public String getIdTokenString()
public void setIdTokenString(String idTokenString)
public com.nimbusds.jwt.JWT getIdToken() throws ParseException
ParseException
public String getRefreshTokenString()
public void setRefreshTokenString(String refreshTokenString)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class UserProfile
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class UserProfile
IOException
ClassNotFoundException
public void clearSensitiveData()
clearSensitiveData
in class UserProfile
Copyright © 2016. All rights reserved.