Class StravaProfile

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

public class StravaProfile extends OAuth20Profile

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

It is returned by the StravaClient.

Since:
1.7.0
Author:
Adrian Papusoi
See Also:
  • Constructor Details

    • StravaProfile

      public StravaProfile()
  • Method Details

    • getFirstName

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

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

      public String getDisplayName()
      Overrides:
      getDisplayName 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
    • getLocation

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

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

      public Integer getResourceState()
    • getProfileMedium

      public String getProfileMedium()
    • getState

      public String getState()
    • getCountry

      public String getCountry()
    • isPremium

      public Boolean isPremium()
    • getCreatedAt

      public Date getCreatedAt()
    • getUpdatedAt

      public Date getUpdatedAt()
    • getFollowerCount

      public Integer getFollowerCount()
    • getFriendCount

      public Integer getFriendCount()
    • getDatePreference

      public String getDatePreference()
    • getMeasurementPreference

      public String getMeasurementPreference()
    • getBikes

      public List<StravaGear> getBikes()
    • getShoes

      public List<StravaGear> getShoes()
    • getClubs

      public List<StravaClub> getClubs()