typealias DigestProviderFunction = suspend (userName: String, realm: String) -> ByteArray?
Provides message digest for the specified username and realm or returns null
if the user is missing.
This function could fetch digest from a database or compute it instead.