added access subject and parsedToken
This commit is contained in:
parent
8132792fa0
commit
6ce7559f14
|
@ -308,6 +308,14 @@ window.customElements.define('d4s-boot-2', class extends HTMLElement {
|
||||||
return this.#authenticated
|
return this.#authenticated
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get subject(){
|
||||||
|
return this.#keycloak.subject
|
||||||
|
}
|
||||||
|
|
||||||
|
get loginToken(){
|
||||||
|
return this.#keycloak.tokenParsed
|
||||||
|
}
|
||||||
|
|
||||||
get url() {
|
get url() {
|
||||||
return this.#url
|
return this.#url
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue