简体   繁体   English

如何实现链接到 PDF 文档的令牌验证?

[英]How to implement token validation linked to a PDF document?

So, I am developing a website for my university that manage courses and online activities (like panels, lectures, etc) and I created a module that sends a PDF document with a participation certificate to the people that attended to these activities, and now I want to link a "token validation" to this document and attach this unique token string at the end of this document so the user may be able to validate this certificate at my website.所以,我正在为我的大学开发一个管理课程和在线活动(如小组讨论、讲座等)的网站,我创建了一个模块,用于向参加这些活动的人发送带有参与证书的 PDF 文档,现在我想要将“令牌验证”链接到本文档并将此唯一令牌字符串附加到本文档的末尾,以便用户可以在我的网站上验证此证书。 Any ideas of how i can accomplish that?关于我如何做到这一点的任何想法?

I am using Java/Spring + Angular我正在使用 Java/Spring + Angular

You can generate QR code and put it footer of the document.您可以生成二维码并将其放在文档的页脚中。 When user scan the QR code user will be redirected your web site with query parameters.当用户扫描 QR 码时,用户将被重定向到您的带有查询参数的 web 站点。 Now you can get URL in Angular and show the document.现在你可以在 Angular 中得到 URL 并显示文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM