/**
  * Get the authenticated user (if any). This will usually be injected by an auth handler if
  * authentication if successful.
  *
  * @return the user, or null if the current user is not authenticated.
  */
 public User user() {
   User ret = User.newInstance(this.delegate.user());
   return ret;
 }
Exemple #2
0
 /** @return the Vert.x-Web user corresponding to this socket */
 public User webUser() {
   User ret = User.newInstance(delegate.webUser());
   return ret;
 }