Securing Rich Client Applications Using OAuth 2.0 and Windows Active Directory