Files
Printservice-REST/config-example/auth.json

33 lines
936 B
JSON

{
"enabled": false,
"protectPrint": true,
"protectRenderedDownload": true,
"protectPreview": false,
"protectAdmin": false,
"headerName": "X-Printservice-Token",
"tokens": [
{
"id": "example-disabled-token",
"name": "line01-print-token",
"userName": "line01",
"displayName": "Linie 01",
"sha256": "REPLACE_WITH_SHA256_FROM_java_-jar_printservice-standalone.jar_--hash-token=YOUR_TOKEN",
"token": null,
"scopes": [ "PRINT", "PREVIEW" ],
"enabled": false,
"createdAt": "2026-06-09T00:00:00Z"
},
{
"id": "example-admin-token",
"name": "admin-token",
"userName": "admin",
"displayName": "Administrator",
"sha256": "REPLACE_WITH_SHA256_FROM_java_-jar_printservice-standalone.jar_--hash-token=ADMIN_TOKEN",
"token": null,
"scopes": [ "ALL" ],
"enabled": false,
"createdAt": "2026-06-09T00:00:00Z"
}
]
}