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

Add more documentation (#36)

parent 3f60c9bd
No related branches found
No related tags found
No related merge requests found
Pipeline #14725 passed
# Auth Web Components # Auth Web Components
You can install the components via npm:
```bash
npm i @dbp-toolkit/auth
```
## Keycloak Component ## Keycloak Component
### Usage ### Usage
```html ```html
<dbp-auth-keycloak url="https://auth.tugraz.at/auth" realm="tugraz" client-id="some-id"></dbp-auth-keycloak> <dbp-auth-keycloak url="https://auth.tugraz.at/auth" realm="tugraz" client-id="some-id"></dbp-auth-keycloak>
<script type="module" src="node_modules/@dbp-toolkit/auth/dist/dbp-auth.js"></script>
``` ```
### Attributes ### Attributes
...@@ -41,6 +48,7 @@ ...@@ -41,6 +48,7 @@
```html ```html
<dbp-login-button></dbp-login-button> <dbp-login-button></dbp-login-button>
<script type="module" src="node_modules/@dbp-toolkit/auth/dist/dbp-auth.js"></script>
``` ```
## Local development ## Local development
......
{ {
"name": "@dbp-toolkit/auth", "name": "@dbp-toolkit/auth",
"homepage": "https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/master/packages/auth", "homepage": "https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/master/packages/auth",
"version": "0.1.1", "version": "0.1.2",
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"publishConfig": { "publishConfig": {
......
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