vertx / io.vertx.kotlin.ext.auth / io.vertx.ext.auth.User / isAuthorizedAwait

isAuthorizedAwait

suspend fun User.isAuthorizedAwait(authority: String): Boolean

Is the user authorised to

Parameters

authority - the authority - what this really means is determined by the specific implementation. It might represent a permission to access a resource e.g. printers:printer34 or it might represent authority to a role in a roles based model, e.g. role:admin.

Return
the User to enable fluent use *