1.Construct an HTTP request URI and an HTTPS request URI.
2.Invoke the GetCurrentApplicationCallbackUri method and construct an HTTPS request URI.
3.Invoke the AuthenticateAsync and GetCurrentApplicationCallbackUri methods.
4.Invoke the AuthenticateAsync method and construct an HTTPS request URI.