The lib_UserManager enables your projects to include user management and authentication in your apps. This library will handle :
- user login with user/password using a salted password security
- user login using OpenID
For more technical informations : documentation
-
In your Convertigo Studio use
File->Import->Convertigo->Convertigo Project
and hit theNext
button -
In the dialog
Project remote URL
field, paste the text below:Usage Click the copy button To contribute lib_UserManager_ui_ngx=git@github.com:convertigo/c8oprj-lib-user-manager-ui-ngx.git:branch=8.0.0
To simply use lib_UserManager_ui_ngx=git@github.com:convertigo/c8oprj-lib-user-manager-ui-ngx/archive/8.0.0.zip
-
Click the
Finish
button. This will automatically import the lib_UserManager_ui_ngx project
events
name | comment |
---|---|
PasswordChangedError | |
PasswordChangedOk |
This component handle a login / password form. And uses the lib_UserManager
The component will check user / password and if successful will autenticate the user. When the user is authenticated, the component will fire a 'login' event that you can handle with a SubscribeHandler. use this event to close a modal page or to push/root a new page when the user is authenticated
variables
name | comment |
---|---|
enableAzureADLogin | Set to false to disable login with AzureAD |
enableCancelDismiss | Set to true if you want a cancel button to be displayed causing a Modal Page dismiss |
enableGoogleLogin | Set to false to disable loggin with google |
enableLinkedInLogin | Set to false to disable login with LinkedIn |
logoImage | A logo image to be displayed over the login form (64x64) |
logoWidth | |
scope | Additional Scope to be added to the standard Scope. This will be concatenated to to the scopr string. For Azure AD start with a + sign |
tenantid | The tenant ID you want to restrict to, leave blank for no tenant. |
events
name | comment |
---|---|
login | This event will be fired when a login occurs : Check out.error and out.message for login errors The out.user will be user logged in |