Table of Contents

Class MicrosoftIdentityWebAppAuthenticationBuilderWithConfiguration

Namespace
Microsoft.Identity.Web
Assembly
Microsoft.Identity.Web.dll

Builder for a Microsoft identity web app authentication where configuration is available for EnableTokenAcquisitionToCallDownstreamApi.

public class MicrosoftIdentityWebAppAuthenticationBuilderWithConfiguration : MicrosoftIdentityWebAppAuthenticationBuilder
Inheritance
MicrosoftIdentityWebAppAuthenticationBuilderWithConfiguration
Inherited Members

Methods

EnableTokenAcquisitionToCallDownstreamApi(IEnumerable<string>?)

Add support for the web app to acquire tokens to call an API.

public MicrosoftIdentityAppCallsWebApiAuthenticationBuilder EnableTokenAcquisitionToCallDownstreamApi(IEnumerable<string>? initialScopes = null)

Parameters

initialScopes IEnumerable<string>

Optional initial scopes to request.

Returns

MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

The authentication builder for chaining.