Class YahooProfileDefinition


  • public class YahooProfileDefinition
    extends OAuthProfileDefinition
    This class is the Yahoo profile definition.
    Since:
    1.1.0
    Author:
    Jerome Leleu
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ABOUT_ME  
      static java.lang.String ADDRESSES  
      static java.lang.String AGE_CATEGORY  
      static java.lang.String BIRTH_YEAR  
      static java.lang.String BIRTHDATE  
      static java.lang.String CREATED  
      static java.lang.String DISCLOSURES  
      static java.lang.String DISPLAY_AGE  
      static java.lang.String EMAILS  
      static java.lang.String FAMILY_NAME  
      static java.lang.String GIVEN_NAME  
      static java.lang.String IMAGE  
      static java.lang.String INTERESTS  
      static java.lang.String IS_CONNECTED  
      static java.lang.String LANG  
      static java.lang.String MEMBER_SINCE  
      static java.lang.String NICKNAME  
      static java.lang.String PROFILE_URL  
      static java.lang.String TIME_ZONE  
      static java.lang.String UPDATED  
      static java.lang.String URI  
      • Fields inherited from class org.pac4j.core.profile.definition.CommonProfileDefinition

        DISPLAY_NAME, EMAIL, FIRST_NAME, GENDER, LOCALE, LOCATION, PICTURE_URL
      • Fields inherited from class org.pac4j.core.profile.definition.ProfileDefinition

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      YahooProfile extractUserProfile​(java.lang.String body)
      Extract the user profile from the response (JSON, XML...) of the profile url.
      java.lang.String getProfileUrl​(com.github.scribejava.core.model.Token accessToken, OAuthConfiguration configuration)
      Retrieve the url of the profile of the authenticated user for the provider.
      • Methods inherited from class org.pac4j.core.profile.definition.CommonProfileDefinition

        configurePrimaryAttributes
      • Methods inherited from class org.pac4j.core.profile.definition.ProfileDefinition

        convertAndAdd, convertAndAdd, getConverters, getParameter, getPrimaryAttributes, getProfileId, getSecondaryAttributes, isRestoreProfileFromTypedId, newProfile, primary, secondary, setProfileFactory, setProfileId, setRestoreProfileFromTypedId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait