-
Notifications
You must be signed in to change notification settings - Fork 1
Login Component
Julio Carneiro edited this page Nov 24, 2017
·
3 revisions
This Component provides a basic default Login dialog that takes a user name and password for authentication. It calls JSFourDInterface signin function, that sends a REST_Authenticate request to 4D to authenticate the given user.
It is a self-contained modal dialog that should be activated using code similar to:
import { ViewContainerRef } from '@angular/core';
import { LoginCmp } from 'js44d';
import { Modal } from 'js44d';
...
constructor(public modal: Modal, private elementRef: ViewContainerRef, ...
...
this.modal.openInside(<any>LoginCmp, this.elementRef, null, LoginCmp.dialogConfig)
