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

Add attributes documentation for dbp-qualified-signature-pdf-upload

parent 97d185fd
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -50,3 +50,27 @@ for example the `dbp-qualified-signature-pdf-upload` activity to qualifiedly sig
[dbp-qualified-signature-pdf-upload/index.html](https://gitlab.tugraz.at/dbp/esign/signature/-/tree/master/examples/dbp-qualified-signature-pdf-upload/index.html)
Note that you will need a Keycloak server along with a client id for the domain you are running this html on.
## Attributes
- `lang` (optional, default: `de`): set to `de` or `en` for German or English
- example `lang="de"`
- `entry-point-url` (optional, default is the TU Graz entry point url): entry point url to access the api
- example `entry-point-url="https://mw-dev.tugraz.at"`
- `auth` object: you need to set that object property for the auth token
- example auth property: `{token: "THE_BEARER_TOKEN"}`
- note: most often this should be an attribute that is not set directly, but subscribed at a provider
- `show-nextcloud-file-picker` (optional): Needs to be set for the Nextcloud file picker to be shown
- example `show-nextcloud-file-picker`
- `nextcloud-web-app-password-url` (optional): Nextcloud Auth Url to use with the Nextcloud file picker
- example `nextcloud-web-app-password-url="http://localhost:8081/index.php/apps/webapppassword"`
- `nextcloud-web-dav-url` also needs to be set for the Nextcloud file picker to be active
- `nextcloud-web-dav-url` (optional): Nextcloud WebDav Url to use with the Nextcloud file picker
- example `nextcloud-web-dav-url="http://localhost:8081/remote.php/dav/files"`
- `nextcloud-web-app-password-url` also needs to be set for the Nextcloud file picker to be active
- `nextcloud-file-url` (optional): Nextcloud File Url to use with the Nextcloud file picker
- example `nextcloud-file-url="http://localhost:8081/apps/files/?dir="`
- `nextcloud-name` (optional): Name of the Nextcloud service
- example `nextcloud-name="My Nextcloud"`
- `allow-annotating` (optional): Needs to be set to allow annotating the PDFs
- example `allow-annotating`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment