resolvePrincipal

var resolvePrincipal: suspend (ApplicationCall) -> IhawuPrincipal?

Resolves the caller for each request. The default fails closed — a null principal masks the whole resource ({}), matching the other adapters. In production map your Authentication result here, e.g. resolvePrincipal = { it.ihawuPrincipal() }.