Package org.gluu.casa.client.config.api
Class DefaultApi
- java.lang.Object
-
- org.gluu.casa.client.config.api.DefaultApi
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-07-18T14:15:05.565Z") public class DefaultApi extends Object
-
-
Constructor Summary
Constructors Constructor Description DefaultApi()DefaultApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidauthnMethodsAssignPluginPost(String acr, String plugin)Assigns the responsible plugin for a given authentication method (in terms of enrollment).ApiResponse<Void>authnMethodsAssignPluginPostWithHttpInfo(String acr, String plugin)Assigns the responsible plugin for a given authentication method (in terms of enrollment).List<String>authnMethodsAvailableGet()Returns the authentication methods that can be used in Casa whether enabled or not.ApiResponse<List<String>>authnMethodsAvailableGetWithHttpInfo()Returns the authentication methods that can be used in Casa whether enabled or not.voidauthnMethodsDisablePost(String acr)Disables a specific authentication methodApiResponse<Void>authnMethodsDisablePostWithHttpInfo(String acr)Disables a specific authentication methodList<String>authnMethodsEnabledGet()Returns the authentication methods currently enabled for CasaApiResponse<List<String>>authnMethodsEnabledGetWithHttpInfo()Returns the authentication methods currently enabled for CasaList<String>corsGet()Returns the CORS domains registered (so Casa REST services can be consumed from the browser)ApiResponse<List<String>>corsGetWithHttpInfo()Returns the CORS domains registered (so Casa REST services can be consumed from the browser)voidcorsPut(List<String> cors)Replaces the current registered CORS domains with the list passed in the body of the request (as a JSON array of strings)ApiResponse<Void>corsPutWithHttpInfo(List<String> cors)Replaces the current registered CORS domains with the list passed in the body of the request (as a JSON array of strings)ApiClientgetApiClient()StringlogLevelGet()Returns the current logging level (Any of ERROR, WARN, INFO, DEBUG, or TRACE)ApiResponse<String>logLevelGetWithHttpInfo()Returns the current logging level (Any of ERROR, WARN, INFO, DEBUG, or TRACE)voidlogLevelPost(String level)Sets the logging level in use by the applicationApiResponse<Void>logLevelPostWithHttpInfo(String level)Sets the logging level in use by the applicationOxdConfigurationoxdGet()Returns configuration details about the underlying OXD server and the registered OIDC client registered employed for authentication purposesApiResponse<OxdConfiguration>oxdGetWithHttpInfo()Returns configuration details about the underlying OXD server and the registered OIDC client registered employed for authentication purposesClientSettingsoxdPut(OxdSettings settings)Replaces the current OXD configuration with the one passed in the payload.ApiResponse<ClientSettings>oxdPutWithHttpInfo(OxdSettings settings)Replaces the current OXD configuration with the one passed in the payload.List<PluginDescriptor>pluginsAuthnMethodImplAcrGet(String acr)Returns data about the currently deployed plugins that implement enrollment logic for a particular authentication methodApiResponse<List<PluginDescriptor>>pluginsAuthnMethodImplAcrGetWithHttpInfo(String acr)Returns data about the currently deployed plugins that implement enrollment logic for a particular authentication methodList<PluginDescriptor>pluginsGet()Returns data about the currently deployed pluginsApiResponse<List<PluginDescriptor>>pluginsGetWithHttpInfo()Returns data about the currently deployed pluginsIntegerpluginsScheduleRemovalIdPost(String id)Provokes the internal plugin checker timer to remove this plugin upon its next runApiResponse<Integer>pluginsScheduleRemovalIdPostWithHttpInfo(String id)Provokes the internal plugin checker timer to remove this plugin upon its next runBooleanpwdResetAvailableGet()Returns if password reset feature is available in this installationApiResponse<Boolean>pwdResetAvailableGetWithHttpInfo()Returns if password reset feature is available in this installationBooleanpwdResetEnabledGet()Returns if password reset feature is enabledApiResponse<Boolean>pwdResetEnabledGetWithHttpInfo()Returns if password reset feature is enabledvoidpwdResetTurnOffPost()Disables password resetApiResponse<Void>pwdResetTurnOffPostWithHttpInfo()Disables password resetvoidpwdResetTurnOnPost()Enables password resetApiResponse<Void>pwdResetTurnOnPostWithHttpInfo()Enables password resetvoidsetApiClient(ApiClient apiClient)
-
-
-
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
-
pluginsGet
public List<PluginDescriptor> pluginsGet() throws ApiException
Returns data about the currently deployed plugins- Returns:
- List<PluginDescriptor>
- Throws:
ApiException- if fails to make API call
-
pluginsGetWithHttpInfo
public ApiResponse<List<PluginDescriptor>> pluginsGetWithHttpInfo() throws ApiException
Returns data about the currently deployed plugins- 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 ApiExceptionDisables password reset- Throws:
ApiException- if fails to make API call
-
pwdResetTurnOffPostWithHttpInfo
public ApiResponse<Void> pwdResetTurnOffPostWithHttpInfo() throws ApiException
Disables password reset- Throws:
ApiException- if fails to make API call
-
pwdResetTurnOnPost
public void pwdResetTurnOnPost() throws ApiExceptionEnables password reset- Throws:
ApiException- if fails to make API call
-
pwdResetTurnOnPostWithHttpInfo
public ApiResponse<Void> pwdResetTurnOnPostWithHttpInfo() throws ApiException
Enables password reset- Throws:
ApiException- if fails to make API call
-
-