Class UserEndpoint
java.lang.Object
com.vaadin.hilla.sso.starter.endpoint.UserEndpoint
Endpoint for getting information about the current user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the current user, if any.
-
Constructor Details
-
UserEndpoint
public UserEndpoint()
-
-
Method Details
-
getAuthenticatedUser
Returns the current user, if any.- Returns:
- an instance of
Userthat contains the user's information, mapped from the current OIDC user.
-