| Package | Description |
|---|---|
| com.sap.cloud.security.token.validation.validators |
| Modifier and Type | Method and Description |
|---|---|
JwtValidatorBuilder |
JwtValidatorBuilder.configureAnotherServiceInstance(OAuth2ServiceConfiguration otherConfiguration)
Allows to provide another service configuration, e.g.
|
static JwtValidatorBuilder |
JwtValidatorBuilder.getInstance(OAuth2ServiceConfiguration configuration)
Creates a builder instance that can be configured further.
|
JwtValidatorBuilder |
JwtValidatorBuilder.with(Validator<Token> validator)
Adds a custom validator to the validation chain.
|
JwtValidatorBuilder |
JwtValidatorBuilder.withAudienceValidator(Validator<Token> audienceValidator)
Sets / overwrites the default audience validator.
|
JwtValidatorBuilder |
JwtValidatorBuilder.withHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient)
In case you want to configure the
OidcConfigurationService and the
the OAuth2TokenKeyService with your own Rest client. |
JwtValidatorBuilder |
JwtValidatorBuilder.withOAuth2TokenKeyService(OAuth2TokenKeyService tokenKeyService)
Deprecated.
for internal use only
|
JwtValidatorBuilder |
JwtValidatorBuilder.withOidcConfigurationService(OidcConfigurationService oidcConfigurationService)
Deprecated.
for internal use only
|
JwtValidatorBuilder |
JwtValidatorBuilder.withValidatorListener(ValidationListener validationListener)
Adds the validation listener to the jwt validator that is being built.
|
Copyright © 2020. All rights reserved.