Ability to check if loggedIn based on provider (#5598)

* Provide a way to check if loggedIn based on provider

* Fix the comments

* Add schema validation for provider
This commit is contained in:
Maurizio Vitale
2020-04-08 16:43:36 +01:00
committed by GitHub
parent e55d3e53bb
commit 83e362d31a
4 changed files with 26 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ export interface NavBarLinkRef extends ExtensionElement {
icon: string;
title: string;
route: string;
provider?: string;
url?: string; // evaluated at runtime based on route ref
description?: string;

View File

@@ -178,6 +178,11 @@
"description": "Unique identifier",
"type": "string"
},
"provider": {
"description": "Define on which system the user should be authenticate",
"type": "string",
"enum": ["BPM", "ECM", "ALL"]
},
"icon": {
"description": "Element icon",
"type": "string"