-
- All Implemented Interfaces:
-
io.vertx.core.shareddata.impl.ClusterSerializable,io.vertx.ext.auth.User
public final class TockUser extends AbstractUserTock implementation of vertx User.
-
-
Method Summary
Modifier and Type Method Description UnitsetAuthProvider(AuthProvider authProvider)JsonObjectprincipal()final Stringcomponent1()final Stringcomponent2()final Set<String>component3()final Booleancomponent4()final TockUsercopy(String user, String namespace, Set<String> roles, Boolean registered)final StringgetUser()final StringgetNamespace()final Set<String>getRoles()final BooleangetRegistered()-
Methods inherited from class io.vertx.ext.auth.User
equals, hashCode, toString -
Methods inherited from class ai.tock.shared.security.TockUser
cachePermission, clearCache, isAuthorized, readFromBuffer, writeToBuffer -
Methods inherited from class io.vertx.ext.auth.AbstractUser
isAuthorised -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setAuthProvider
Unit setAuthProvider(AuthProvider authProvider)
-
principal
JsonObject principal()
-
component1
final String component1()
-
component2
final String component2()
-
component3
final Set<String> component3()
-
component4
final Boolean component4()
-
getNamespace
final String getNamespace()
-
getRegistered
final Boolean getRegistered()
-
-
-
-