Пример #1
0
 public Uri GetRequestTokenUri(string redirectUri, SCResponseType responseType, SCScope scope, SCDisplay display, string state)
 {
     return soundCloudRawClient.BuildUri("connect",
                                         new Dictionary<string, object>
                                         {
                                             {"client_id", soundCloudRawClient.Credentials.ClientId},
                                             {"redirect_uri", redirectUri},
                                             {"response_type", responseType.GetParameterName()},
                                             {"scope", scope.GetParameterName()},
                                             {"display", display.GetParameterName()},
                                             {"state", state}
                                         }, string.Empty);
 }
Пример #2
0
 public Uri GetRequestTokenUri(string redirectUri, SCResponseType responseType, SCScope scope, SCDisplay display, string state)
 {
     return(soundCloudRawClient.BuildUri("connect",
                                         new Dictionary <string, object>
     {
         { "client_id", soundCloudRawClient.Credentials.ClientId },
         { "redirect_uri", redirectUri },
         { "response_type", responseType.GetParameterName() },
         { "scope", scope.GetParameterName() },
         { "display", display.GetParameterName() },
         { "state", state }
     }, string.Empty));
 }