Class UserEndpoint

java.lang.Object
com.vaadin.hilla.sso.starter.endpoint.UserEndpoint

public class UserEndpoint extends Object
Endpoint for getting information about the current user.
  • Constructor Details

    • UserEndpoint

      public UserEndpoint()
  • Method Details

    • getAuthenticatedUser

      public Optional<User> getAuthenticatedUser()
      Returns the current user, if any.
      Returns:
      an instance of User that contains the user's information, mapped from the current OIDC user.