What kind of bearer authentication token is this?
So I implemented some bearer token authentication using this guide. It uses OWIN-based OAuth library provided by Microsoft to generate the tokens. I can't figure out what token this generates. I am asking because I am trying to migrate this to ASP.NET Core but all the articles out there are about JWT token (Yes, I do know that the JWT token can be used as bearer token with OAuth2) and this clearly is not a JWT token. The response looks like this:
{
"access_token": "NXNps5iEafO6v2QMGOpXCGXBNVQw1DQTr9nV9JgG1XIRxEG9_3eliy4MQ3a050GKDQEBuQ_Y1vW-vEkPKx5MWlwEvpdxmWMnlxn-P2nq0gvl7oD2seiY69Yyab3uL3ZlppyI_A-PbQG-BSNJQKcbvoVBzejtXsrs3ADuvNi0EjYf3T12hpdiDzyPoAE1XDF44AL6hxFmUdJJ56pshUkPVlJUM851gfFIVvL5mf1yebWDo5gkdt9YhT1H32vD7KvgXHMMtYkxvT4lW6vXwyusKlH_MzZzHL1KlystJayc9QL-PDsLBGSfqPTQmOSw_vRaezHjMj4dSkCqrT4_RLoeeUsuSk5Q5mHGGYuJwPEPWJ5qXBjZT4U9RtjTB-EEyqINZGC_IxpM40qJPbBi2zvUsbafUroGx-tG2BNLtnvKnrqfZScLDsi7bd85Oc1S5kPuPf5LFtKr3f_ePRE0sGddvxCHcYUR_cn0zJSg1EDARXGM61ApgERTAQyy1oPeu-PgPSqqoGUvZ1-X26bQ2QarSQ3UMdAcO2eIuICM-XiVjb5lNo5FB21ZeTdYIi25WasqNJxQfIfEHqfTcdD5y7YsZA",
"token_type": "bearer",
"expires_in": 31535999,
"userName": "emailuserasusername@outlook.com",
".issued": "Wed, 14 Mar 2018 22:26:59 GMT",
".expires": "Thu, 14 Mar 2019 22:26:59 GMT"
}
链接地址: http://www.djcxy.com/p/22404.html
上一篇: ASP.NET Core Authorize属性不能与JWT一起使用
下一篇: 这是什么样的承载身份验证令牌?