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.Date
getBirthDate()
java.lang.Integer
getCommonCount()
java.lang.String
getDisplayName()
java.lang.String
getDomain()
java.lang.String
getEmail()
java.lang.String
getFamilyName()
java.lang.String
getFirstName()
java.lang.String
getFoto100()
java.lang.String
getFoto200()
java.lang.String
getFoto200Orig()
java.lang.String
getFoto400Orig()
java.lang.String
getFoto50()
java.lang.String
getFotoMax()
java.lang.String
getFotoMaxOrig()
org.pac4j.core.profile.Gender
getGender()
java.lang.String
getHomePhone()
java.lang.String
getLastName()
java.util.Locale
getLocale()
java.lang.String
getLocation()
java.lang.String
getMobilePhone()
java.net.URI
getPictureUrl()
java.net.URI
getProfileUrl()
java.lang.Integer
getRelation()
java.lang.String
getSite()
java.lang.String
getSkype()
java.lang.String
getStatus()
java.lang.String
getUsername()
java.lang.Boolean
isCanPost()
java.lang.Boolean
isCanSeeAllPost()
java.lang.Boolean
isCanSeeAudio()
java.lang.Boolean
isCanWritePrivateMessage()
java.lang.Boolean
isHasMobile()
java.lang.Boolean
isOnline()
java.lang.Boolean
isOnlineMobile()
-
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:
getDisplayName
in classorg.pac4j.core.profile.CommonProfile
-
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername
in interfaceorg.pac4j.core.profile.UserProfile
- Overrides:
getUsername
in classorg.pac4j.core.profile.CommonProfile
-
getPictureUrl
public java.net.URI getPictureUrl()
- Overrides:
getPictureUrl
in classorg.pac4j.core.profile.CommonProfile
-
getProfileUrl
public java.net.URI getProfileUrl()
- Overrides:
getProfileUrl
in classorg.pac4j.core.profile.CommonProfile
-
getEmail
public java.lang.String getEmail()
- Overrides:
getEmail
in classorg.pac4j.core.profile.CommonProfile
-
getFamilyName
public java.lang.String getFamilyName()
- Overrides:
getFamilyName
in classorg.pac4j.core.profile.CommonProfile
-
getGender
public org.pac4j.core.profile.Gender getGender()
- Overrides:
getGender
in classorg.pac4j.core.profile.CommonProfile
-
getLocale
public java.util.Locale getLocale()
- Overrides:
getLocale
in classorg.pac4j.core.profile.CommonProfile
-
getLocation
public java.lang.String getLocation()
- Overrides:
getLocation
in classorg.pac4j.core.profile.CommonProfile
-
getFirstName
public java.lang.String getFirstName()
- Overrides:
getFirstName
in 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()
-
-