Azure Access Control Service

I have a query regarding to to Azure Authentication and Authorization I have a token from azure active directory now i want to send this token to ACS as SWT token any method?



private static string SendSAMLTokenToACS(string accessToken)
{
try
{
WebClient client = new WebClient();
client.BaseAddress = string.Format("http://ift.tt/1CVejWp");
NameValueCollection parameters = new NameValueCollection();
parameters.Add("wrap_assertion_format", "SAML");
parameters.Add("wrap_assertion", accessToken);
// client.Headers.Add("","");
parameters.Add("wrap_scope", "http://localhost:1020/ServiceMessage.svc");
// client.Headers. Add("Authorization", "WRAP access_token=\"\"");

byte[] responseBytes = client.UploadValues("WRAPv0.9", parameters);
string response = Encoding.UTF8.GetString(responseBytes);

return response
.Split('&')
.Single(value => value.StartsWith("wrap_access_token=", StringComparison.OrdinalIgnoreCase))
.Split('=')[1];
}
catch (WebException wex)
{
string value = new StreamReader(wex.Response.GetResponseStream()).ReadToEnd();
throw;
}
}