mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* * Created IdentityUserService * Created IdentityUserModel * Added JWT lib into package.json * * Provided a way to show SSO user info * * Added condition to check sso login * * Refactored userInfo component* Updated unit tests to the recent changes * * Created IdenityUser model * Refactored userInfoComponent * * Modified userInfoComponent * Modified unit tests * * Used Fullname pipe* Removed the logic that we had to display fullname in the ecm/bpm/identity model* Created JwtHelperService* Modified ecm/bpm services * added test cases to the identity service * * Moved jwt service to core/service * * Updated userInfo doc * * Added missing return types * * Created a mockToken* Added unit tests to the JwtHelperService* Updated identityUserService unit test * Update jwt-helper.service.spec.ts * * Updated bpm/ecm/identity services
1.3 KiB
1.3 KiB
Added, Status, Last reviewed
Added | Status | Last reviewed |
---|---|---|
v2.0.0 | Active | 2018-11-19 |
User Info component
Shows user information.
Basic usage
<adf-userinfo></adf-userinfo>
Class members
Properties
Name | Type | Default value | Description |
---|---|---|---|
bpmBackgroundImage | string |
Custom path for the background banner image for APS users. | |
ecmBackgroundImage | string |
Custom path for the background banner image for ACS users. | |
menuPositionX | string |
"after" | Custom choice for opening the menu at the bottom. Can be before or after . |
menuPositionY | string |
"below" | Custom choice for opening the menu at the bottom. Can be above or below . |
namePosition | string |
"right" | When the username is shown, this defines its position relative to the user info button. Can be right or left . |
showName | boolean |
true | Shows/hides the username next to the user info button. |
Details
The component shows a round icon for the user and will show extra information about the user when clicked. If user is logged in with both ACS and APS, the ACS image will be shown. In case of SSO authentication, the information related to the user like firstname, lastname will be fetched using the Keycloak Api