public class DeprecationUtil
extends java.lang.Object
| Constructor and Description |
|---|
DeprecationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAccessTokenJwt(Config config,
org.slf4j.Logger log,
java.lang.String errorPrefix)
Get 'oauth.access.token.is.jwt' config option with fallback to the deprecated 'oauth.tokens.not.jwt'
|
public static boolean isAccessTokenJwt(Config config, org.slf4j.Logger log, java.lang.String errorPrefix)
config - a Config instancelog - Logger to use to log warningserrorPrefix - Error message prefix that becomes part of ConfigException#getMessage() if both current,
and deprecated keys are configuredCopyright © 2024. All rights reserved.