Beispiel #1
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(UriOAuthService.GetAuthorizationEndpoint(new OAuthUrlParameters
     {
         ClientId = ClientId,
         ResponseType = "code",
         RedirectUri = _redirectionUri,
         State = State
     }, Environment));
 }
 /// <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(UriOAuthService.GetAuthorizationEndpoint(new OAuthUrlParameters
     {
         ClientId = ClientId,
         ResponseType = "token",
         RedirectUri = RedirectionUri,
         State = State,
     },
                                                     Environment,
                                                     RequireLiveConnect));
 }