【WEB】Cookies
Token: A token is a piece of data that represents the authorization granted to a user. In OAuth 2.0, tokens are used to access protected resources on behalf of the user. There are different types of tokens, including access tokens and refresh tokens.
Access Token: An access token is a credential that represents the authorization granted to access a protected resource. It is typically included in HTTP requests to authenticate the user. Access tokens have a limited lifespan and are used to access resources on behalf of the user without revealing the user's credentials.
Refresh Token: A refresh token is a credential used to obtain a new access token when the current access token expires. Refresh tokens are typically long-lived and are used to maintain the user's session without requiring them to re-authenticate every time the access token expires.
Resource Owner: The resource owner is the entity that owns the protected resource and grants access to that resource. In OAuth 2.0, the resource owner is typically the end-user who authorizes an application to access their protected resources.
版权声明:
作者:lichengxin
链接:https://www.techfm.club/p/117930.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。
共有 0 条评论