语言

AcquireTokenInteractiveParameterBuilder.WithExtraScopesToConsent 方法

定义

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 方法

适用于