Interface BaseIdentityProvider.Context

    • Method Detail

      • getHttpRequest

        HttpRequest getHttpRequest()
        Get the received HTTP request.
        Since:
        9.16
      • getHttpResponse

        HttpResponse getHttpResponse()
        Get the HTTP response to send.
        Since:
        9.16
      • 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.