Files
alfresco-ng2-components/docs/core/login-dialog.service.md
Andy Stark 0ed5b2d5de [ADF-3551] Doc fixes for release (#3849)
* [ADF-3551] Fixed missing docs index pages and links

* [ADF-3551] Fixed link in datatable docs plus ToC tool update
2018-10-02 15:00:38 +01:00

31 lines
964 B
Markdown

---
Added: v2.6.0
Status: Active
Last reviewed: 2018-10-02
---
# Login Dialog service
Manages login dialogs.
## Methods
- **openLogin**(actionName: `string`, title: `string`): [`Observable`](http://reactivex.io/documentation/observable.html)`<string>`<br/>
Opens a login dialog.
- _actionName:_ `string` - Text to show in the main action button
- _title:_ `string` - Title for the login dialog
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<string>` - Confirmation of login from the dialog
- **close**(): `<void>`<br/>
Closes the currently open login dialog.
## Details
Use the methods of this service to manage login dialogs from code. As an alternative, you may
find it easier to use the [Login dialog component](login-dialog.component.md) to display the
dialog directly from HTML.
## See also
- [Login dialog component](login-dialog.component.md)
- [Login component](login.component.md)