Description
Area
adapter/javascript
Description
Currently, KeycloakUserInfo
interface does not exist, but the code suggests that it should be implemented:
This new interface will then be used for the return value of loadUserInfo
, that currently returns an untyped object
Discussion
No response
Motivation
Other methods and attributes have their own interfaces, such as userProfile
and loadUserProfile
using KeycloakProfile
. It should be the same for userInfo
and loadUserInfo
with KeycloakUserInfo
.
Details
Simply implement KeycloakUserInfo
interface and add it to userInfo
attribute and loadUserInfo
method