Class RegisterClient


public class RegisterClient extends BaseClient<RegisterRequest,RegisterResponse>
Encapsulates functionality to make Register request calls to an authorization server via REST Services.
Version:
August 20, 2019
Author:
Javier Rojas Blum, Yuriy Zabrovarnyy, Yuriy Movchan
  • Constructor Details

    • RegisterClient

      public RegisterClient(String url)
      Construct a register client by providing an URL where the REST service is located.
      Parameters:
      url - The REST service location.
  • Method Details

    • builder

      public static RegistrationBuilder builder()
    • getHttpMethod

      public String getHttpMethod()
      Specified by:
      getHttpMethod in class BaseClient<RegisterRequest,RegisterResponse>
    • execRegister

      public RegisterResponse execRegister(io.jans.as.model.register.ApplicationType applicationType, String clientName, List<String> redirectUri)
      Executes the call to the REST service requesting to register and process the response.
      Parameters:
      applicationType - The application type.
      clientName - The client name.
      redirectUri - A list of space-delimited redirection URIs.
      Returns:
      The service response.
    • exec

      public RegisterResponse exec()
    • exec

      @Deprecated public RegisterResponse exec(org.jboss.resteasy.client.jaxrs.ClientHttpEngine engine)
      Deprecated.
      Engine should be shared between clients