What does bearer stand for?

微笑、不失礼 提交于 2019-12-31 03:39:06

问题


In context of jwt tokens the word bearer ist used. I cannot find a lot about bearer on Google. I was wondering where the terms comes from and what it stand for? And why is it prefixed?


回答1:


why is it prefixed?

Because otherwise it would just be a bunch of random characters with no context whatsoever, other than knowing that it's some info for some type of authorization.

what it stand for?

That the one who bears the token has the authority to do whatever the token allows

where the terms comes from

Hopefully Lord of The Rings (https://en.wikipedia.org/wiki/One_Ring#Ring-bearers) but I doubt it ;) It's a standard English-language word




回答2:


A "bearer" is simply "a person or thing that carries, upholds, or brings", according to dictionary.com. So, in the context of JWT (or SAML, etc.) tokens, the "bearer" is simply the person or entity that presents the token to the server or resource.



来源:https://stackoverflow.com/questions/35944455/what-does-bearer-stand-for

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!