added access subject and parsedToken

This commit is contained in:
dcore94 2022-07-21 18:38:24 +02:00
parent 8132792fa0
commit 6ce7559f14
1 changed files with 8 additions and 0 deletions

View File

@ -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
} }