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

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:
  • Constructor Details

    • VkProfile

      public VkProfile()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class org.pac4j.core.profile.CommonProfile
    • getUsername

      public String getUsername()
      Specified by:
      getUsername in interface org.pac4j.core.profile.UserProfile
      Overrides:
      getUsername in class org.pac4j.core.profile.CommonProfile
    • getPictureUrl

      public URI getPictureUrl()
      Overrides:
      getPictureUrl in class org.pac4j.core.profile.CommonProfile
    • getProfileUrl

      public URI getProfileUrl()
      Overrides:
      getProfileUrl in class org.pac4j.core.profile.CommonProfile
    • getEmail

      public String getEmail()
      Overrides:
      getEmail in class org.pac4j.core.profile.CommonProfile
    • getFamilyName

      public String getFamilyName()
      Overrides:
      getFamilyName in class org.pac4j.core.profile.CommonProfile
    • getGender

      public org.pac4j.core.profile.Gender getGender()
      Overrides:
      getGender in class org.pac4j.core.profile.CommonProfile
    • getLocale

      public Locale getLocale()
      Overrides:
      getLocale in class org.pac4j.core.profile.CommonProfile
    • getLocation

      public String getLocation()
      Overrides:
      getLocation in class org.pac4j.core.profile.CommonProfile
    • getFirstName

      public String getFirstName()
      Overrides:
      getFirstName in class org.pac4j.core.profile.CommonProfile
    • getLastName

      public String getLastName()

      getLastName.

      Returns:
      a String object
    • getBirthDate

      public Date getBirthDate()

      getBirthDate.

      Returns:
      a Date object
    • getFoto50

      public String getFoto50()

      getFoto50.

      Returns:
      a String object
    • getFoto100

      public String getFoto100()

      getFoto100.

      Returns:
      a String object
    • getFoto200Orig

      public String getFoto200Orig()

      getFoto200Orig.

      Returns:
      a String object
    • getFoto200

      public String getFoto200()

      getFoto200.

      Returns:
      a String object
    • getFoto400Orig

      public String getFoto400Orig()

      getFoto400Orig.

      Returns:
      a String object
    • getFotoMax

      public String getFotoMax()

      getFotoMax.

      Returns:
      a String object
    • getFotoMaxOrig

      public String getFotoMaxOrig()

      getFotoMaxOrig.

      Returns:
      a String object
    • isOnline

      public Boolean isOnline()

      isOnline.

      Returns:
      a Boolean object
    • isOnlineMobile

      public Boolean isOnlineMobile()

      isOnlineMobile.

      Returns:
      a Boolean object
    • getDomain

      public String getDomain()

      getDomain.

      Returns:
      a String object
    • isHasMobile

      public Boolean isHasMobile()

      isHasMobile.

      Returns:
      a Boolean object
    • getMobilePhone

      public String getMobilePhone()

      getMobilePhone.

      Returns:
      a String object
    • getHomePhone

      public String getHomePhone()

      getHomePhone.

      Returns:
      a String object
    • getSkype

      public String getSkype()

      getSkype.

      Returns:
      a String object
    • getSite

      public String getSite()

      getSite.

      Returns:
      a String object
    • isCanPost

      public Boolean isCanPost()

      isCanPost.

      Returns:
      a Boolean object
    • isCanSeeAllPost

      public Boolean isCanSeeAllPost()

      isCanSeeAllPost.

      Returns:
      a Boolean object
    • isCanSeeAudio

      public Boolean isCanSeeAudio()

      isCanSeeAudio.

      Returns:
      a Boolean object
    • isCanWritePrivateMessage

      public Boolean isCanWritePrivateMessage()

      isCanWritePrivateMessage.

      Returns:
      a Boolean object
    • getStatus

      public String getStatus()

      getStatus.

      Returns:
      a String object
    • getCommonCount

      public Integer getCommonCount()

      getCommonCount.

      Returns:
      a Integer object
    • getRelation

      public Integer getRelation()

      getRelation.

      Returns:
      a Integer object