I'm developing the application for Windows Phone and Windows RT which is a social network VK.COM client. For a long time I have been searching for a way to implement logout from it. It was not trivial task because VK API is not supporting logout.
While I was searching the solution in the internet I saw two kinds of the solution:
- So-called "direct authorisation" which allows to authorizate in the application with the login and the password. It is avaible only for applications which are aprooved by vk and it requires an "eternal" token. But some developpers disassemble foreign applications and steal eternal tokens.
- Deleting the cookies with authorization data.
Code: