-
- All Implemented Interfaces:
-
io.vertx.core.shareddata.ClusterSerializable,io.vertx.core.shareddata.impl.ClusterSerializable,io.vertx.ext.auth.User
public final class TockUser extends UserImplTock implementation of vertx User.
-
-
Method Summary
Modifier and Type Method Description final StringgetUser()final StringgetNamespace()final Set<String>getRoles()final BooleangetRegistered()UserisAuthorized(String authority, Handler<AsyncResult<Boolean>> handler)UnitsetAuthProvider(AuthProvider authProvider)JsonObjectprincipal()JsonObjectattributes()-
Methods inherited from class io.vertx.ext.auth.impl.UserImpl
authorizations, isAuthorized, merge, readFromBuffer, writeToBuffer -
Methods inherited from class io.vertx.ext.auth.User
clearCache, containsKey, expired, expired, get, isAuthorized, isAuthorized, subject -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getNamespace
final String getNamespace()
-
getRegistered
final Boolean getRegistered()
-
isAuthorized
User isAuthorized(String authority, Handler<AsyncResult<Boolean>> handler)
-
setAuthProvider
Unit setAuthProvider(AuthProvider authProvider)
-
principal
JsonObject principal()
-
attributes
JsonObject attributes()
-
-
-
-