我使用的是MVC5WebApi2和个人用户帐户身份验证。我已将访问令牌过期时间设置为10秒。,AuthorizeEndpointPath = new PathString("/apiAllowInsecureHttp = falseRefreshTokenProvider = new SimpleRefreshTokenProvider()
我想
我的Django REST应用程序和JWT身份验证模块()在刷新令牌阶段有问题。刷新令牌的默认逻辑是non-expired tokens can be "refreshed" to obtain a brand new token with renewed expiration timeJWT框架提供了一个用于刷新令牌的API,您应该使用它来获得新的令牌,因此过期时间重置web应用程序上的每个“用户操作”。这意味着
我正在使用MVC 5 Web2和个人用户帐户认证。我已将访问令牌的有效期设置为30天。ApplicationOAuthProvider(PublicClientId, UserManagerFactory),
AuthorizeEndpointPath = new PathString("/api因此,我想将jquery称为刷新令牌“/Token”。OAuthGrantRefreshTokenContext con