Class DefaultApi


  • @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
               date="2021-07-18T14:15:05.565Z")
    public class DefaultApi
    extends Object
    • Constructor Detail

      • DefaultApi

        public DefaultApi()
      • DefaultApi

        public DefaultApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • authnMethodsAssignPluginPost

        public void authnMethodsAssignPluginPost​(String acr,
                                                 String plugin)
                                          throws ApiException
        Assigns the responsible plugin for a given authentication method (in terms of enrollment). Responsibility can also be delegated to an internal (default) plugin implementation if available for the method in question
        Parameters:
        acr - Identifier of the authentication method (required)
        plugin - Identifier of the plugin to assign. If this param is missing or empty, the default implementation is assigned (if existing) (optional)
        Throws:
        ApiException - if fails to make API call
      • authnMethodsAssignPluginPostWithHttpInfo

        public ApiResponse<Void> authnMethodsAssignPluginPostWithHttpInfo​(String acr,
                                                                          String plugin)
                                                                   throws ApiException
        Assigns the responsible plugin for a given authentication method (in terms of enrollment). Responsibility can also be delegated to an internal (default) plugin implementation if available for the method in question
        Parameters:
        acr - Identifier of the authentication method (required)
        plugin - Identifier of the plugin to assign. If this param is missing or empty, the default implementation is assigned (if existing) (optional)
        Throws:
        ApiException - if fails to make API call
      • authnMethodsAvailableGet

        public List<String> authnMethodsAvailableGet()
                                              throws ApiException
        Returns the authentication methods that can be used in Casa whether enabled or not. Note that for any method to be reported here, there has to be an enabled custom script in the underlying Gluu installation and a plugin implementing its enrollment logic (unless it is a method supported out-of-the-box, where no plugin is required)
        Returns:
        List<String>
        Throws:
        ApiException - if fails to make API call
      • authnMethodsAvailableGetWithHttpInfo

        public ApiResponse<List<String>> authnMethodsAvailableGetWithHttpInfo()
                                                                       throws ApiException
        Returns the authentication methods that can be used in Casa whether enabled or not. Note that for any method to be reported here, there has to be an enabled custom script in the underlying Gluu installation and a plugin implementing its enrollment logic (unless it is a method supported out-of-the-box, where no plugin is required)
        Returns:
        ApiResponse<List<String>>
        Throws:
        ApiException - if fails to make API call
      • authnMethodsDisablePost

        public void authnMethodsDisablePost​(String acr)
                                     throws ApiException
        Disables a specific authentication method
        Parameters:
        acr - Identifier of the authentication method to disable (required)
        Throws:
        ApiException - if fails to make API call
      • authnMethodsDisablePostWithHttpInfo

        public ApiResponse<Void> authnMethodsDisablePostWithHttpInfo​(String acr)
                                                              throws ApiException
        Disables a specific authentication method
        Parameters:
        acr - Identifier of the authentication method to disable (required)
        Throws:
        ApiException - if fails to make API call
      • authnMethodsEnabledGet

        public List<String> authnMethodsEnabledGet()
                                            throws ApiException
        Returns the authentication methods currently enabled for Casa
        Returns:
        List<String>
        Throws:
        ApiException - if fails to make API call
      • authnMethodsEnabledGetWithHttpInfo

        public ApiResponse<List<String>> authnMethodsEnabledGetWithHttpInfo()
                                                                     throws ApiException
        Returns the authentication methods currently enabled for Casa
        Returns:
        ApiResponse<List<String>>
        Throws:
        ApiException - if fails to make API call
      • corsGet

        public List<String> corsGet()
                             throws ApiException
        Returns the CORS domains registered (so Casa REST services can be consumed from the browser)
        Returns:
        List<String>
        Throws:
        ApiException - if fails to make API call
      • corsGetWithHttpInfo

        public ApiResponse<List<String>> corsGetWithHttpInfo()
                                                      throws ApiException
        Returns the CORS domains registered (so Casa REST services can be consumed from the browser)
        Returns:
        ApiResponse<List<String>>
        Throws:
        ApiException - if fails to make API call
      • corsPut

        public void corsPut​(List<String> cors)
                     throws ApiException
        Replaces the current registered CORS domains with the list passed in the body of the request (as a JSON array of strings)
        Parameters:
        cors - (required)
        Throws:
        ApiException - if fails to make API call
      • corsPutWithHttpInfo

        public ApiResponse<Void> corsPutWithHttpInfo​(List<String> cors)
                                              throws ApiException
        Replaces the current registered CORS domains with the list passed in the body of the request (as a JSON array of strings)
        Parameters:
        cors - (required)
        Throws:
        ApiException - if fails to make API call
      • logLevelGet

        public String logLevelGet()
                           throws ApiException
        Returns the current logging level (Any of ERROR, WARN, INFO, DEBUG, or TRACE)
        Returns:
        String
        Throws:
        ApiException - if fails to make API call
      • logLevelGetWithHttpInfo

        public ApiResponse<String> logLevelGetWithHttpInfo()
                                                    throws ApiException
        Returns the current logging level (Any of ERROR, WARN, INFO, DEBUG, or TRACE)
        Returns:
        ApiResponse<String>
        Throws:
        ApiException - if fails to make API call
      • logLevelPost

        public void logLevelPost​(String level)
                          throws ApiException
        Sets the logging level in use by the application
        Parameters:
        level - Any of ERROR, WARN, INFO, DEBUG, or TRACE (required)
        Throws:
        ApiException - if fails to make API call
      • logLevelPostWithHttpInfo

        public ApiResponse<Void> logLevelPostWithHttpInfo​(String level)
                                                   throws ApiException
        Sets the logging level in use by the application
        Parameters:
        level - Any of ERROR, WARN, INFO, DEBUG, or TRACE (required)
        Throws:
        ApiException - if fails to make API call
      • oxdGet

        public OxdConfiguration oxdGet()
                                throws ApiException
        Returns configuration details about the underlying OXD server and the registered OIDC client registered employed for authentication purposes
        Returns:
        OxdConfiguration
        Throws:
        ApiException - if fails to make API call
      • oxdGetWithHttpInfo

        public ApiResponse<OxdConfiguration> oxdGetWithHttpInfo()
                                                         throws ApiException
        Returns configuration details about the underlying OXD server and the registered OIDC client registered employed for authentication purposes
        Returns:
        ApiResponse<OxdConfiguration>
        Throws:
        ApiException - if fails to make API call
      • oxdPut

        public ClientSettings oxdPut​(OxdSettings settings)
                              throws ApiException
        Replaces the current OXD configuration with the one passed in the payload. This will provoke the oxd server referenced in the payload to re-register or update the OIDC client used
        Parameters:
        settings - (required)
        Returns:
        ClientSettings
        Throws:
        ApiException - if fails to make API call
      • oxdPutWithHttpInfo

        public ApiResponse<ClientSettings> oxdPutWithHttpInfo​(OxdSettings settings)
                                                       throws ApiException
        Replaces the current OXD configuration with the one passed in the payload. This will provoke the oxd server referenced in the payload to re-register or update the OIDC client used
        Parameters:
        settings - (required)
        Returns:
        ApiResponse<ClientSettings>
        Throws:
        ApiException - if fails to make API call
      • pluginsAuthnMethodImplAcrGet

        public List<PluginDescriptor> pluginsAuthnMethodImplAcrGet​(String acr)
                                                            throws ApiException
        Returns data about the currently deployed plugins that implement enrollment logic for a particular authentication method
        Parameters:
        acr - ACR corresponding to the authentication method (required)
        Returns:
        List<PluginDescriptor>
        Throws:
        ApiException - if fails to make API call
      • pluginsAuthnMethodImplAcrGetWithHttpInfo

        public ApiResponse<List<PluginDescriptor>> pluginsAuthnMethodImplAcrGetWithHttpInfo​(String acr)
                                                                                     throws ApiException
        Returns data about the currently deployed plugins that implement enrollment logic for a particular authentication method
        Parameters:
        acr - ACR corresponding to the authentication method (required)
        Returns:
        ApiResponse<List<PluginDescriptor>>
        Throws:
        ApiException - if fails to make API call
      • pluginsScheduleRemovalIdPost

        public Integer pluginsScheduleRemovalIdPost​(String id)
                                             throws ApiException
        Provokes the internal plugin checker timer to remove this plugin upon its next run
        Parameters:
        id - Identifier of the plugin to remove (required)
        Returns:
        Integer
        Throws:
        ApiException - if fails to make API call
      • pluginsScheduleRemovalIdPostWithHttpInfo

        public ApiResponse<Integer> pluginsScheduleRemovalIdPostWithHttpInfo​(String id)
                                                                      throws ApiException
        Provokes the internal plugin checker timer to remove this plugin upon its next run
        Parameters:
        id - Identifier of the plugin to remove (required)
        Returns:
        ApiResponse<Integer>
        Throws:
        ApiException - if fails to make API call
      • pwdResetAvailableGet

        public Boolean pwdResetAvailableGet()
                                     throws ApiException
        Returns if password reset feature is available in this installation
        Returns:
        Boolean
        Throws:
        ApiException - if fails to make API call
      • pwdResetAvailableGetWithHttpInfo

        public ApiResponse<Boolean> pwdResetAvailableGetWithHttpInfo()
                                                              throws ApiException
        Returns if password reset feature is available in this installation
        Returns:
        ApiResponse<Boolean>
        Throws:
        ApiException - if fails to make API call
      • pwdResetEnabledGet

        public Boolean pwdResetEnabledGet()
                                   throws ApiException
        Returns if password reset feature is enabled
        Returns:
        Boolean
        Throws:
        ApiException - if fails to make API call
      • pwdResetEnabledGetWithHttpInfo

        public ApiResponse<Boolean> pwdResetEnabledGetWithHttpInfo()
                                                            throws ApiException
        Returns if password reset feature is enabled
        Returns:
        ApiResponse<Boolean>
        Throws:
        ApiException - if fails to make API call
      • pwdResetTurnOffPost

        public void pwdResetTurnOffPost()
                                 throws ApiException
        Disables password reset
        Throws:
        ApiException - if fails to make API call
      • pwdResetTurnOnPost

        public void pwdResetTurnOnPost()
                                throws ApiException
        Enables password reset
        Throws:
        ApiException - if fails to make API call