Package | Description |
---|---|
io.vertx.rxjava.ext.auth.common |
Modifier and Type | Method and Description |
---|---|
User |
User.clearCache()
The User object will cache any roles or permissions that it knows it has to avoid hitting the
underlying auth provider each time.
|
User |
User.hasPermission(String permission,
Handler<AsyncResult<Boolean>> resultHandler)
Does the user have the specified permission?
|
User |
User.hasPermissions(Set<String> permissions,
Handler<AsyncResult<Boolean>> resultHandler)
Does the user have all the specified permissions?
|
User |
User.hasRole(String role,
Handler<AsyncResult<Boolean>> resultHandler)
Does the user have the specified role?
|
User |
User.hasRoles(Set<String> roles,
Handler<AsyncResult<Boolean>> resultHandler)
Does the user have all the specified roles?
|
static User |
User.newInstance(User arg) |
Copyright © 2015. All Rights Reserved.