Sample code for 30+ languages & platforms
Chilkat2 Java

Azure OAuth2 Examples for Chilkat2 Java