Microsoft Quick Authentication samples
Customized sign-in button example