Interface BaseIdentityProvider.Context

    • Method Detail

      • getRequest

        javax.servlet.http.HttpServletRequest getRequest()
        Get the received HTTP request. Note - getRequest().getSession() must not be used in order to support future clustering of web servers without stateful server sessions.
      • getResponse

        javax.servlet.http.HttpServletResponse getResponse()
        Get the HTTP response to send
      • authenticate

        void authenticate​(UserIdentity userIdentity)
        Authenticate and register the user into the platform. The first time a user is authenticated (and if IdentityProvider.allowsUsersToSignUp() is true), a new user will be registered. Then, only user's name and email are updated. If @link #allowsUsersToSignUp()} is set to false and a new user try to authenticate, then the user is not authenticated and he's redirected to a dedicated page. If the email of the user is already used by an existing user of the platform, then the user is not authenticated and he's redirected to a dedicated page.