It will be useful to add token invalidation and/or refreshing examples as it is quite difficult to find a good example on the Internet