Adding InvalidateToken function:
Adding a function to the ApplicationOnly struct to invalidate an authentication token