suspend fun OAuth2RBAC.isAuthorizedAwait(user: AccessToken, authority: String): Boolean
This method should verify if the user has the given authority and return either a boolean value or an error.
Note that false and errors are not the same. A user might not have a given authority but that doesn't mean that there was an error during the call.
user
- the given user to assert on