Skip to content
Snippets Groups Projects
Unverified Commit 04a40f37 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Add auth.person documentation

parent ff0d9ffb
No related branches found
No related tags found
No related merge requests found
Pipeline #16475 passed
...@@ -20,7 +20,7 @@ npm i @dbp-toolkit/auth ...@@ -20,7 +20,7 @@ npm i @dbp-toolkit/auth
- `lang` (optional, default: `de`): set to `de` or `en` for German or English - `lang` (optional, default: `de`): set to `de` or `en` for German or English
- example `<dbp-auth-keycloak lang="de" </dbp-auth-keycloak>` - example `<dbp-auth-keycloak lang="de" </dbp-auth-keycloak>`
- `load-person` (optional, default: off): if enabled the logged in user will also be loaded as `Person` - `load-person` (optional, default: off): if enabled the logged in user will also be loaded as `Person`
in the `window.DBPPerson` variable in the `auth.person` attribute (see below)
- example `<dbp-auth-keycloak load-person></dbp-auth-keycloak>` - example `<dbp-auth-keycloak load-person></dbp-auth-keycloak>`
- `force-login` (optional, default: off): if enabled a login will be forced, there never will be a login button - `force-login` (optional, default: off): if enabled a login will be forced, there never will be a login button
- example `<dbp-auth-keycloak force-login></dbp-auth-keycloak>` - example `<dbp-auth-keycloak force-login></dbp-auth-keycloak>`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment