Skip to content

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.

https://gyazo.com/2e6afd8b53bdd50d68fa01616b62b30e

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)

Clone this wiki locally