| Modifier and Type | Method and Description |
|---|---|
ValidationResponse |
ValidationResponse.setException(Exception exception) |
ValidationResponse |
ValidationResponse.setMessage(String message) |
static ValidationResponse |
ConfigurationValidator.validateApiToken(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(String clientId)
Returns a
ValidationResponse checking the clientId is not null and contains does not contain the string {apiToclientIdken}. |
static ValidationResponse |
ConfigurationValidator.validateClientSecret(String clientSecret)
Returns a
ValidationResponse checking the clientSecret is not null and contains does not contain the string {clientSecret}. |
static ValidationResponse |
ConfigurationValidator.validateIssuer(String url)
Returns a
ValidationResponse checking the url is a well formed HTTPS URL and
does not contain common typos. |
static ValidationResponse |
ConfigurationValidator.validateOrgUrl(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(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(Consumer<ValidationResponse> consumer) |
Copyright © 2018 Okta. All rights reserved.