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:
java.io.Externalizable,java.io.Serializable,org.pac4j.core.profile.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
-
-
Constructor Summary
Constructors Constructor Description VkProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetBirthDate()java.lang.IntegergetCommonCount()java.lang.StringgetDisplayName()java.lang.StringgetDomain()java.lang.StringgetEmail()java.lang.StringgetFamilyName()java.lang.StringgetFirstName()java.lang.StringgetFoto100()java.lang.StringgetFoto200()java.lang.StringgetFoto200Orig()java.lang.StringgetFoto400Orig()java.lang.StringgetFoto50()java.lang.StringgetFotoMax()java.lang.StringgetFotoMaxOrig()org.pac4j.core.profile.GendergetGender()java.lang.StringgetHomePhone()java.lang.StringgetLastName()java.util.LocalegetLocale()java.lang.StringgetLocation()java.lang.StringgetMobilePhone()java.net.URIgetPictureUrl()java.net.URIgetProfileUrl()java.lang.IntegergetRelation()java.lang.StringgetSite()java.lang.StringgetSkype()java.lang.StringgetStatus()java.lang.StringgetUsername()java.lang.BooleanisCanPost()java.lang.BooleanisCanSeeAllPost()java.lang.BooleanisCanSeeAudio()java.lang.BooleanisCanWritePrivateMessage()java.lang.BooleanisHasMobile()java.lang.BooleanisOnline()java.lang.BooleanisOnlineMobile()-
Methods inherited from class org.pac4j.oauth.profile.OAuth20Profile
getAccessToken, getRefreshToken, removeLoginData, setAccessToken, setRefreshToken
-
Methods inherited from class org.pac4j.core.profile.BasicUserProfile
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addPermission, addPermissions, addRole, addRoles, asPrincipal, 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
-
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Overrides:
getDisplayNamein classorg.pac4j.core.profile.CommonProfile
-
getUsername
public java.lang.String getUsername()
- Specified by:
getUsernamein interfaceorg.pac4j.core.profile.UserProfile- Overrides:
getUsernamein classorg.pac4j.core.profile.CommonProfile
-
getPictureUrl
public java.net.URI getPictureUrl()
- Overrides:
getPictureUrlin classorg.pac4j.core.profile.CommonProfile
-
getProfileUrl
public java.net.URI getProfileUrl()
- Overrides:
getProfileUrlin classorg.pac4j.core.profile.CommonProfile
-
getEmail
public java.lang.String getEmail()
- Overrides:
getEmailin classorg.pac4j.core.profile.CommonProfile
-
getFamilyName
public java.lang.String getFamilyName()
- Overrides:
getFamilyNamein classorg.pac4j.core.profile.CommonProfile
-
getGender
public org.pac4j.core.profile.Gender getGender()
- Overrides:
getGenderin classorg.pac4j.core.profile.CommonProfile
-
getLocale
public java.util.Locale getLocale()
- Overrides:
getLocalein classorg.pac4j.core.profile.CommonProfile
-
getLocation
public java.lang.String getLocation()
- Overrides:
getLocationin classorg.pac4j.core.profile.CommonProfile
-
getFirstName
public java.lang.String getFirstName()
- Overrides:
getFirstNamein classorg.pac4j.core.profile.CommonProfile
-
getLastName
public java.lang.String getLastName()
-
getBirthDate
public java.util.Date getBirthDate()
-
getFoto50
public java.lang.String getFoto50()
-
getFoto100
public java.lang.String getFoto100()
-
getFoto200Orig
public java.lang.String getFoto200Orig()
-
getFoto200
public java.lang.String getFoto200()
-
getFoto400Orig
public java.lang.String getFoto400Orig()
-
getFotoMax
public java.lang.String getFotoMax()
-
getFotoMaxOrig
public java.lang.String getFotoMaxOrig()
-
isOnline
public java.lang.Boolean isOnline()
-
isOnlineMobile
public java.lang.Boolean isOnlineMobile()
-
getDomain
public java.lang.String getDomain()
-
isHasMobile
public java.lang.Boolean isHasMobile()
-
getMobilePhone
public java.lang.String getMobilePhone()
-
getHomePhone
public java.lang.String getHomePhone()
-
getSkype
public java.lang.String getSkype()
-
getSite
public java.lang.String getSite()
-
isCanPost
public java.lang.Boolean isCanPost()
-
isCanSeeAllPost
public java.lang.Boolean isCanSeeAllPost()
-
isCanSeeAudio
public java.lang.Boolean isCanSeeAudio()
-
isCanWritePrivateMessage
public java.lang.Boolean isCanWritePrivateMessage()
-
getStatus
public java.lang.String getStatus()
-
getCommonCount
public java.lang.Integer getCommonCount()
-
getRelation
public java.lang.Integer getRelation()
-
-