vertx / io.vertx.kotlin.ext.web.handler / io.vertx.ext.web.handler.DigestAuthHandler

Extensions for io.vertx.ext.web.handler.DigestAuthHandler

authorizeAwait

suspend fun DigestAuthHandler.authorizeAwait(user: User): Unit

Authorizes the given user against all added authorities.

parseCredentialsAwait

suspend fun DigestAuthHandler.parseCredentialsAwait(context: RoutingContext): JsonObject

Parses the credentials from the request into a JsonObject. The implementation should be able to extract the required info for the auth provider in the format the provider expects.