/// <summary>
 /// Gets the Microsoft Account authorization endpoint where the user should be navigated to give his or her consent.
 /// </summary>
 /// <returns>The Microsoft Account authorization endpoint of type <see cref="Uri"/>.</returns>
 public override Uri GetAuthorizationEndpoint()
 {
     return(LiveComOAuthService.GetAuthorizationEndpoint(new OAuthUrlParameters
     {
         ClientId = ClientId,
         ResponseType = "token",
         RedirectUri = LiveComOAuthService.DesktopRedirectUri
     }));
 }
Example #2
0
 /// <summary>
 /// Gets the Microsoft Account authorization endpoint where the user should be navigated to give his or her consent.
 /// </summary>
 /// <returns>The Microsoft Account authorization endpoint of type <see cref="Uri"/>.</returns>
 public override Uri GetAuthorizationEndpoint()
 {
     return(LiveComOAuthService.GetAuthorizationEndpoint(new OAuthUrlParameters
     {
         ClientId = ClientId,
         ResponseType = "code",
         RedirectUri = RedirectionUri,
         State = State
     }));
 }