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()
    • 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()