Problem:
- I have ASP WebApi 2 with a standard Asp identifier (media)
- Client platforms - Ios, Android, WinPhone and Web
The validity period of Ios, Android, WinPhone should be 1 year, but for the Web - 5 minutes, and the validity period should be extended after each user activity.
Each request may contain PlatformType (or other information)
How to extend the token after each user activity?
source
share