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,org.pac4j.core.profile.UserProfile
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:
-
Field Summary
Fields inherited from class org.pac4j.core.profile.BasicUserProfile
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBirthDate.getCommonCount.getDomain.getEmail()getFoto100.getFoto200.getFoto200Orig.getFoto400Orig.getFoto50.getFotoMax.getFotoMaxOrig.org.pac4j.core.profile.GendergetHomePhone.getLastName.getMobilePhone.getRelation.getSite()getSite.getSkype()getSkype.getStatus.isCanPost.isCanSeeAllPost.isCanSeeAudio.isCanWritePrivateMessage.isHasMobile.isOnline()isOnline.isOnlineMobile.Methods inherited from class org.pac4j.oauth.profile.OAuth20Profile
getAccessToken, getRefreshToken, removeLoginData, setAccessToken, setRefreshTokenMethods inherited from class org.pac4j.core.profile.CommonProfile
getAttributeAsDate, getAttributeAsString, getAttributeAsType, isExpired, toStringMethods inherited from class org.pac4j.core.profile.BasicUserProfile
addAttribute, addAttributes, addAuthenticationAttribute, addAuthenticationAttributes, addRole, addRoles, asPrincipal, build, build, canEqual, containsAttribute, containsAuthenticationAttribute, equals, extractAttributeValues, getAttribute, getAttribute, getAttributes, getAuthenticationAttribute, getAuthenticationAttribute, getAuthenticationAttributes, getClientName, getId, getLinkedId, getRoles, getTypedId, hashCode, isRemembered, readExternal, removeAttribute, removeAuthenticationAttribute, setClientName, setId, setLinkedId, setRemembered, setRoles, writeExternal
-
Constructor Details
-
VkProfile
public VkProfile()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classorg.pac4j.core.profile.CommonProfile
-
getUsername
- Specified by:
getUsernamein interfaceorg.pac4j.core.profile.UserProfile- Overrides:
getUsernamein classorg.pac4j.core.profile.CommonProfile
-
getPictureUrl
- Overrides:
getPictureUrlin classorg.pac4j.core.profile.CommonProfile
-
getProfileUrl
- Overrides:
getProfileUrlin classorg.pac4j.core.profile.CommonProfile
-
getEmail
- Overrides:
getEmailin classorg.pac4j.core.profile.CommonProfile
-
getFamilyName
- Overrides:
getFamilyNamein classorg.pac4j.core.profile.CommonProfile
-
getGender
public org.pac4j.core.profile.Gender getGender()- Overrides:
getGenderin classorg.pac4j.core.profile.CommonProfile
-
getLocale
- Overrides:
getLocalein classorg.pac4j.core.profile.CommonProfile
-
getLocation
- Overrides:
getLocationin classorg.pac4j.core.profile.CommonProfile
-
getFirstName
- Overrides:
getFirstNamein classorg.pac4j.core.profile.CommonProfile
-
getLastName
getLastName.
- Returns:
- a
Stringobject
-
getBirthDate
getBirthDate.
- Returns:
- a
Dateobject
-
getFoto50
getFoto50.
- Returns:
- a
Stringobject
-
getFoto100
getFoto100.
- Returns:
- a
Stringobject
-
getFoto200Orig
getFoto200Orig.
- Returns:
- a
Stringobject
-
getFoto200
getFoto200.
- Returns:
- a
Stringobject
-
getFoto400Orig
getFoto400Orig.
- Returns:
- a
Stringobject
-
getFotoMax
getFotoMax.
- Returns:
- a
Stringobject
-
getFotoMaxOrig
getFotoMaxOrig.
- Returns:
- a
Stringobject
-
isOnline
isOnline.
- Returns:
- a
Booleanobject
-
isOnlineMobile
isOnlineMobile.
- Returns:
- a
Booleanobject
-
getDomain
getDomain.
- Returns:
- a
Stringobject
-
isHasMobile
isHasMobile.
- Returns:
- a
Booleanobject
-
getMobilePhone
getMobilePhone.
- Returns:
- a
Stringobject
-
getHomePhone
getHomePhone.
- Returns:
- a
Stringobject
-
getSkype
getSkype.
- Returns:
- a
Stringobject
-
getSite
getSite.
- Returns:
- a
Stringobject
-
isCanPost
isCanPost.
- Returns:
- a
Booleanobject
-
isCanSeeAllPost
isCanSeeAllPost.
- Returns:
- a
Booleanobject
-
isCanSeeAudio
isCanSeeAudio.
- Returns:
- a
Booleanobject
-
isCanWritePrivateMessage
isCanWritePrivateMessage.
- Returns:
- a
Booleanobject
-
getStatus
getStatus.
- Returns:
- a
Stringobject
-
getCommonCount
getCommonCount.
- Returns:
- a
Integerobject
-
getRelation
getRelation.
- Returns:
- a
Integerobject
-