public class HiOrgServerProfile extends OAuth20Profile
HiOrgServerClient
.logger, SEPARATOR
Constructor and Description |
---|
HiOrgServerProfile() |
Modifier and Type | Method and Description |
---|---|
String |
getAlternativeId()
An alternative identifier to uniquely identify a HiOrg-Server user.
|
String |
getDisplayName()
Return the displayed name of the user.
|
String |
getFamilyName()
Return the family name of the user.
|
String |
getFirstName()
Return the first name of the user.
|
String |
getOrganisationId() |
String |
getOrganisationName() |
String |
getPosition() |
int |
getRolesAsInteger() |
String |
getTypedAlternativeId()
A alternative, typed identifier based on
getAlternativeId() . |
String |
getUsername()
Return the username of the user.
|
boolean |
hasRole(int roleId) |
boolean |
isLeader() |
clearSensitiveData, getAccessToken, setAccessToken
asPrincipal, getEmail, getGender, getLocale, getLocation, getPictureUrl, getProfileUrl, isExpired
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, addRoles, build, build, containsAttribute, containsAuthenicationAttribute, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setPermissions, setRemembered, setRoles, toString, writeExternal
public String getUsername()
CommonProfile
getUsername
in class CommonProfile
public String getFirstName()
CommonProfile
getFirstName
in class CommonProfile
public String getFamilyName()
CommonProfile
getFamilyName
in class CommonProfile
public String getDisplayName()
CommonProfile
getDisplayName
in class CommonProfile
public int getRolesAsInteger()
public boolean hasRole(int roleId)
public String getOrganisationId()
public String getOrganisationName()
public String getPosition()
public boolean isLeader()
public String getAlternativeId()
public String getTypedAlternativeId()
getAlternativeId()
.getAlternativeId()
, joined by the seperator constantCopyright © 2019. All rights reserved.