Class AttackProtectionApi

java.lang.Object
com.okta.sdk.resource.api.AttackProtectionApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-09-23T16:19:57.008753975Z[Etc/UTC]", comments="Generator version: 7.8.0") public class AttackProtectionApi extends Object
  • Constructor Details

    • AttackProtectionApi

      public AttackProtectionApi()
    • AttackProtectionApi

      public AttackProtectionApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getAuthenticatorSettings

      public List<AttackProtectionAuthenticatorSettings> getAuthenticatorSettings() throws ApiException
      Retrieve the Authenticator Settings Retrieves the Authenticator Settings for an org
      Returns:
      List<AttackProtectionAuthenticatorSettings>
      Throws:
      ApiException - if fails to make API call
    • getAuthenticatorSettings

      public List<AttackProtectionAuthenticatorSettings> getAuthenticatorSettings(Map<String,String> additionalHeaders) throws ApiException
      Retrieve the Authenticator Settings Retrieves the Authenticator Settings for an org
      Parameters:
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<AttackProtectionAuthenticatorSettings>
      Throws:
      ApiException - if fails to make API call
    • getUserLockoutSettings

      public List<UserLockoutSettings> getUserLockoutSettings() throws ApiException
      Retrieve the User Lockout Settings Retrieves the User Lockout Settings for an org
      Returns:
      List<UserLockoutSettings>
      Throws:
      ApiException - if fails to make API call
    • getUserLockoutSettings

      public List<UserLockoutSettings> getUserLockoutSettings(Map<String,String> additionalHeaders) throws ApiException
      Retrieve the User Lockout Settings Retrieves the User Lockout Settings for an org
      Parameters:
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<UserLockoutSettings>
      Throws:
      ApiException - if fails to make API call
    • replaceAuthenticatorSettings

      public AttackProtectionAuthenticatorSettings replaceAuthenticatorSettings(AttackProtectionAuthenticatorSettings authenticatorSettings) throws ApiException
      Replace the Authenticator Settings Replaces the Authenticator Settings for an org
      Parameters:
      authenticatorSettings - (required)
      Returns:
      AttackProtectionAuthenticatorSettings
      Throws:
      ApiException - if fails to make API call
    • replaceAuthenticatorSettings

      public AttackProtectionAuthenticatorSettings replaceAuthenticatorSettings(AttackProtectionAuthenticatorSettings authenticatorSettings, Map<String,String> additionalHeaders) throws ApiException
      Replace the Authenticator Settings Replaces the Authenticator Settings for an org
      Parameters:
      authenticatorSettings - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      AttackProtectionAuthenticatorSettings
      Throws:
      ApiException - if fails to make API call
    • replaceUserLockoutSettings

      public UserLockoutSettings replaceUserLockoutSettings(UserLockoutSettings lockoutSettings) throws ApiException
      Replace the User Lockout Settings Replaces the User Lockout Settings for an org
      Parameters:
      lockoutSettings - (required)
      Returns:
      UserLockoutSettings
      Throws:
      ApiException - if fails to make API call
    • replaceUserLockoutSettings

      public UserLockoutSettings replaceUserLockoutSettings(UserLockoutSettings lockoutSettings, Map<String,String> additionalHeaders) throws ApiException
      Replace the User Lockout Settings Replaces the User Lockout Settings for an org
      Parameters:
      lockoutSettings - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      UserLockoutSettings
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()