Package org.pac4j.oauth.profile.vk
Class VkProfile
- java.lang.Object
-
- org.pac4j.core.profile.BasicUserProfile
-
- org.pac4j.core.profile.CommonProfile
-
- org.pac4j.oauth.profile.OAuth20Profile
-
- org.pac4j.oauth.profile.vk.VkProfile
-
- All Implemented Interfaces:
Externalizable,Serializable,UserProfile
public class VkProfile extends OAuth20Profile
This class is the user profile for Vk with appropriate getters.
It is returned by the
VkClient.- Since:
- 1.5
- Author:
- indvdum (gotoindvdum[at]gmail[dot]com)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pac4j.core.profile.BasicUserProfile
logger, SEPARATOR
-
-
Constructor Summary
Constructors Constructor Description VkProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetBirthDate()IntegergetCommonCount()StringgetDisplayName()StringgetDomain()StringgetEmail()StringgetFamilyName()StringgetFirstName()StringgetFoto100()StringgetFoto200()StringgetFoto200Orig()StringgetFoto400Orig()StringgetFoto50()StringgetFotoMax()StringgetFotoMaxOrig()GendergetGender()StringgetHomePhone()StringgetLastName()LocalegetLocale()StringgetLocation()StringgetMobilePhone()URIgetPictureUrl()URIgetProfileUrl()IntegergetRelation()StringgetSite()StringgetSkype()StringgetStatus()StringgetUsername()BooleanisCanPost()BooleanisCanSeeAllPost()BooleanisCanSeeAudio()BooleanisCanWritePrivateMessage()BooleanisHasMobile()BooleanisOnline()BooleanisOnlineMobile()-
Methods inherited from class org.pac4j.oauth.profile.OAuth20Profile
getAccessToken, removeLoginData, setAccessToken
-
Methods inherited from class org.pac4j.core.profile.CommonProfile
isExpired
-
Methods inherited from class org.pac4j.core.profile.BasicUserProfile
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, build, build, containsAttribute, containsAuthenicationAttribute, extractAttributeValues, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getPermissions, getRoles, getTypedId, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setPermissions, setRemembered, setRoles, toString, writeExternal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pac4j.core.profile.UserProfile
asPrincipal
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classCommonProfile
-
getUsername
public String getUsername()
- Specified by:
getUsernamein interfaceUserProfile- Overrides:
getUsernamein classCommonProfile
-
getPictureUrl
public URI getPictureUrl()
- Overrides:
getPictureUrlin classCommonProfile
-
getProfileUrl
public URI getProfileUrl()
- Overrides:
getProfileUrlin classCommonProfile
-
getEmail
public String getEmail()
- Overrides:
getEmailin classCommonProfile
-
getFamilyName
public String getFamilyName()
- Overrides:
getFamilyNamein classCommonProfile
-
getGender
public Gender getGender()
- Overrides:
getGenderin classCommonProfile
-
getLocale
public Locale getLocale()
- Overrides:
getLocalein classCommonProfile
-
getLocation
public String getLocation()
- Overrides:
getLocationin classCommonProfile
-
getFirstName
public String getFirstName()
- Overrides:
getFirstNamein classCommonProfile
-
getLastName
public String getLastName()
-
getBirthDate
public Date getBirthDate()
-
getFoto50
public String getFoto50()
-
getFoto100
public String getFoto100()
-
getFoto200Orig
public String getFoto200Orig()
-
getFoto200
public String getFoto200()
-
getFoto400Orig
public String getFoto400Orig()
-
getFotoMax
public String getFotoMax()
-
getFotoMaxOrig
public String getFotoMaxOrig()
-
isOnline
public Boolean isOnline()
-
isOnlineMobile
public Boolean isOnlineMobile()
-
getDomain
public String getDomain()
-
isHasMobile
public Boolean isHasMobile()
-
getMobilePhone
public String getMobilePhone()
-
getHomePhone
public String getHomePhone()
-
getSkype
public String getSkype()
-
getSite
public String getSite()
-
isCanPost
public Boolean isCanPost()
-
isCanSeeAllPost
public Boolean isCanSeeAllPost()
-
isCanSeeAudio
public Boolean isCanSeeAudio()
-
isCanWritePrivateMessage
public Boolean isCanWritePrivateMessage()
-
getStatus
public String getStatus()
-
getCommonCount
public Integer getCommonCount()
-
getRelation
public Integer getRelation()
-
-