Changing the icon my app presents in the Touch Bar when using touchID.

I have a macOS application designed as an agent with several daemons/cmd helper tools. Various parts of my application use touchID before executing privileged operations.

The icon that shows up in Touch ID is the generic white building block. How can I use a different icon with different types of targets?