OAuth2 using pure c#, without any library