If you nil out the authToken variable, all the next calls will not work until you login again (those calls that require an authToken). So if you have a button connected to a callback method that sets the authToken to nil, and eventually redirect the user to the login view / scene / etc, that should work.
If you nil out the authToken variable, all the next calls will not work until you login again (those calls that require an authToken). So if you have a button connected to a callback method that sets the authToken to nil, and eventually redirect the user to the login view / scene / etc, that should work.