http4k / org.http4k.filter / ServerFilters / ApiKeyAuth / invoke
operator fun <T> invoke(lens:
Lens
<
Request
, T>, validate: (T) ->
Boolean
):
Filter
ApiKey token checking using a typed lens.
operator fun invoke(validate: (
Request
) ->
Boolean
):
Filter
ApiKey token checking using standard request inspection.