ASP.NET Identity Bearer Token vs JWT Pros and Cons

后端 未结 3 1070
猫巷女王i
猫巷女王i 2021-02-05 07:24

I have used ASP.NET Identity for a while now and have been looking at JWT (JSON Web Token) as they seem really interesting and easy to use.

JWT.IO has a great example/to

3条回答
  •  误落风尘
    2021-02-05 08:20

    Unfortunately The previous answer could be misleading: Bearer Tokens are the predominant type of access token used with OAuth 2.0. A Bearer Token is an opaque string, not intended to have any meaning to clients using it. Some servers will issue tokens that are a short string of hexadecimal characters, while others may use structured tokens such as JSON Web Tokens. (https://oauth.net/2/bearer-tokens/)

提交回复
热议问题