AcquireTokenInteractiveParameterBuilder.WithExtraScopesToConsent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder WithExtraScopesToConsent(System.Collections.Generic.IEnumerable<string> extraScopesToConsent);
member this.WithExtraScopesToConsent : seq<string> -> Microsoft.Identity.Client.AcquireTokenInteractiveParameterBuilder
Public Function WithExtraScopesToConsent (extraScopesToConsent As IEnumerable(Of String)) As AcquireTokenInteractiveParameterBuilder
参数
- extraScopesToConsent
- IEnumerable<String>
除了要为其获取安全令牌的受保护 Web API 的范围外,还可以请求最终用户提前同意的范围。
返回
要链接的生成器。With 方法