【发布时间】:2017-09-12 17:59:59
【问题描述】:
我正在使用WebAuthenticationCoreManager 对 UWP 应用进行身份验证:
WebTokenRequest webTokenRequest = new WebTokenRequest(provider, authority, clientId);
webTokenRequest.Properties.Add("resource", resourceId);
WebTokenRequestResult wtrr = await WebAuthenticationCoreManager.RequestTokenAsync(webTokenRequest);
我得到了要使用的 clientId 和 redirectUri,但我不知道如何为请求设置 redirectUri。
This thread 说没有办法,除了使用WebAuthenticationBroker,但我希望这已经改变了。
那么,有没有办法指定重定向 uri?
【问题讨论】:
标签: authentication uwp