Class LinkedInEvents


  • public class LinkedInEvents
    extends java.lang.Object
    LinkedEvents - Events for LinkedIn login. Refs: https://developer.linkedin.com/documents/authentication
    • Field Detail

      • module

        public static final java.lang.String module
      • SESSION_LINKEDIN_STATE

        public static final java.lang.String SESSION_LINKEDIN_STATE
        See Also:
        Constant Field Values
      • envPrefix

        public static final java.lang.String envPrefix
    • Constructor Detail

      • LinkedInEvents

        public LinkedInEvents()
    • Method Detail

      • linkedInRedirect

        public static java.lang.String linkedInRedirect​(javax.servlet.http.HttpServletRequest request,
                                                        javax.servlet.http.HttpServletResponse response)
        Redirect to LinkedIn login page.
        Returns:
      • parseLinkedInResponse

        public static java.lang.String parseLinkedInResponse​(javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response)
        Parse LinkedIn login response and login the user if possible.
        Returns:
      • getOAuth2LinkedInConfig

        public static GenericValue getOAuth2LinkedInConfig​(javax.servlet.http.HttpServletRequest request)