private static boolean areSecretsBase64Encoded(final RegisteredService registeredService) {
        val secretIsBase64 = getRegisteredServiceJwtProperty(registeredService, RegisteredServiceProperties.TOKEN_SECRETS_ARE_BASE64_ENCODED);
        return BooleanUtils.toBoolean(secretIsBase64);
    }
Create a JWT authenticator.

@return the jwt authenticator
support/cas-server-support-token-authentication/src/main/java/org/apereo/cas/token/authentication/TokenAuthenticationSecurity.java