Class FoursquareProfile

java.lang.Object
org.pac4j.core.profile.BasicUserProfile
org.pac4j.core.profile.CommonProfile
org.pac4j.oauth.profile.OAuth20Profile
org.pac4j.oauth.profile.foursquare.FoursquareProfile
All Implemented Interfaces:
Externalizable, Serializable, org.pac4j.core.profile.UserProfile

public class FoursquareProfile extends OAuth20Profile

This class is the user profile for Foursquare with appropriate getters.

It is returned by the FoursquareClient.

Since:
1.5.0
Author:
Alexey Ogarkov
See Also:
  • Constructor Details

    • FoursquareProfile

      public FoursquareProfile()
  • Method Details

    • getBio

      public String getBio()
    • getContact

      public FoursquareUserContact getContact()
    • getFriends

      public FoursquareUserFriends getFriends()
    • getPhoto

      public FoursquareUserPhoto getPhoto()
    • getFirstName

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

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

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

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

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

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