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 Detail

      • RegisterClient

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

      • execRegister

        public RegisterResponse execRegister​(io.jans.as.model.register.ApplicationType applicationType,
                                             java.lang.String clientName,
                                             java.util.List<java.lang.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

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