C# Web身份验证代理仅返回回调Url?

C# Web身份验证代理仅返回回调Url?,c#,windows-8,oauth,C#,Windows 8,Oauth,在我的应用程序中,我让WebAuthenticationBroker工作,但由于某些原因,ResponseData只返回回调Url,而不返回令牌、验证器等。该数据是否应该是WAB返回的Url的一部分?如果是,这是否意味着提供者API存在问题 这是我的密码 public async Task<string> Authorize(string oAuthAuthorizeUrl) { System.Uri StartUri = new Uri(oAuthAuthorizeUrl)

在我的应用程序中,我让WebAuthenticationBroker工作,但由于某些原因,ResponseData只返回回调Url,而不返回令牌、验证器等。该数据是否应该是WAB返回的Url的一部分?如果是,这是否意味着提供者API存在问题

这是我的密码

public async Task<string> Authorize(string oAuthAuthorizeUrl)
{
    System.Uri StartUri = new Uri(oAuthAuthorizeUrl);
    System.Uri EndUri = new Uri("https://api.xyz.com/oauth/authorize-submit");
    //System.Uri EndUri = new Uri(WebAuthenticationBroker.GetCurrentApplicationCallbackUri().ToString());

    var auth =
        await
        WebAuthenticationBroker.AuthenticateAsync(WebAuthenticationOptions.None, StartUri, EndUri);

    var responseText = auth.ResponseData; // Callback url specified above gets returned here
    ...
}
API使用OAuth 1.0a。谢谢你的帮助