Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Toolkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Web Component Framework
Toolkit
Commits
a3d77fed
Unverified
Commit
a3d77fed
authored
3 years ago
by
Bekerle, Patrizio
Browse files
Options
Downloads
Patches
Plain Diff
Update auth documentation
parent
50fac13e
No related branches found
No related tags found
No related merge requests found
Pipeline
#45689
passed
3 years ago
Stage: test
Stage: deploy
Stage: e2e
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/auth/README.md
+11
-0
11 additions, 0 deletions
packages/auth/README.md
packages/auth/package.json
+1
-1
1 addition, 1 deletion
packages/auth/package.json
with
12 additions
and
1 deletion
packages/auth/README.md
+
11
−
0
View file @
a3d77fed
...
@@ -15,6 +15,17 @@ npm i @dbp-toolkit/auth
...
@@ -15,6 +15,17 @@ npm i @dbp-toolkit/auth
<script
type=
"module"
src=
"node_modules/@dbp-toolkit/auth/dist/dbp-auth.js"
></script>
<script
type=
"module"
src=
"node_modules/@dbp-toolkit/auth/dist/dbp-auth.js"
></script>
```
```
Or directly via CDN:
```
html
<dbp-auth-keycloak
url=
"https://auth.tugraz.at/auth"
realm=
"tugraz"
client-id=
"some-id"
></dbp-auth-keycloak>
<script
type=
"module"
src=
"https://unpkg.com/@dbp-toolkit/auth@0.2.2/dist/dbp-auth.js"
></script>
```
You need Keycloak to be in place to make use of the auth component.
Best take a look on examples like
[
index.html
](
https://gitlab.tugraz.at/dbp/esign/signature/-/blob/master/examples/dbp-signature/index.html
)
for more explanation.
### Attributes
### Attributes
-
`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
...
...
This diff is collapsed.
Click to expand it.
packages/auth/package.json
+
1
−
1
View file @
a3d77fed
{
{
"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.2.
2
"
,
"version"
:
"0.2.
3
"
,
"main"
:
"src/index.js"
,
"main"
:
"src/index.js"
,
"license"
:
"LGPL-2.1-or-later"
,
"license"
:
"LGPL-2.1-or-later"
,
"repository"
:
{
"repository"
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment