Skip to content

Latest commit

 

History

History
124 lines (90 loc) · 2.93 KB

README.md

File metadata and controls

124 lines (90 loc) · 2.93 KB

lib_UserManager_ui_ngx

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

Installation

  1. In your Convertigo Studio use File->Import->Convertigo->Convertigo Project and hit the Next button

  2. In the dialog Project remote URL field, paste the text below:

    UsageClick 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
    
  3. Click the Finish button. This will automatically import the lib_UserManager_ui_ngx project

Mobile Library

Shared Components

ForgotPassword

events

namecomment
PasswordChangedError
PasswordChangedOk

LoginComponent

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

namecomment
enableAzureADLoginSet to false to disable login with AzureAD
enableCancelDismissSet to true if you want a cancel button to be displayed causing a Modal Page dismiss
enableGoogleLoginSet to false to disable loggin with google
enableLinkedInLoginSet to false to disable login with LinkedIn
logoImageA logo image to be displayed over the login form (64x64)
logoWidth
scopeAdditional Scope to be added to the standard Scope. This will be concatenated to to the scopr string. For Azure AD start with a + sign
tenantidThe tenant ID you want to restrict to, leave blank for no tenant.

events

namecomment
loginThis 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