| Modifier and Type | Method and Description |
|---|---|
ValidationResponse |
ValidationResponse.setException(java.lang.Exception exception) |
ValidationResponse |
ValidationResponse.setMessage(java.lang.String message) |
static ValidationResponse |
ConfigurationValidator.validateApiToken(java.lang.String token)
Returns a
ValidationResponse checking to make sure the API token is not null and
contains does not contain the string {apiToken}. |
static ValidationResponse |
ConfigurationValidator.validateClientId(java.lang.String clientId)
Returns a
ValidationResponse checking the clientId is not null and contains does not contain the string {apiToclientIdken}. |
static ValidationResponse |
ConfigurationValidator.validateClientSecret(java.lang.String clientSecret)
Returns a
ValidationResponse checking the clientSecret is not null and contains does not contain the string {clientSecret}. |
static ValidationResponse |
ConfigurationValidator.validateIssuer(java.lang.String url)
Returns a
ValidationResponse checking the url is a well formed HTTPS URL and
does not contain common typos. |
static ValidationResponse |
ConfigurationValidator.validateOrgUrl(java.lang.String url)
Returns a
ValidationResponse checking to make sure the url is a well formed HTTPS URL and does
not contain common typos. |
static ValidationResponse |
ConfigurationValidator.validateOrgUrl(java.lang.String url,
boolean allowNonHttpsForTesting)
Deprecated.
use
ConfigurationValidator.validateOrgUrl(String) instead, disabling this check is NOT recommended, and should
ONLY be done in testing scenarios |
| Modifier and Type | Method and Description |
|---|---|
void |
ValidationResponse.ifInvalid(java.util.function.Consumer<ValidationResponse> consumer) |
Copyright © 2018-2021 Okta. All Rights Reserved.