Table of Contents

Class MicrosoftIdentityWebApiAuthenticationBuilderWithConfiguration

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

Builder for web API authentication with configuration.

public class MicrosoftIdentityWebApiAuthenticationBuilderWithConfiguration : MicrosoftIdentityWebApiAuthenticationBuilder
Inheritance
MicrosoftIdentityWebApiAuthenticationBuilderWithConfiguration
Inherited Members

Methods

EnableTokenAcquisitionToCallDownstreamApi()

Protects the web API with Microsoft identity platform (formerly Azure AD v2.0). This method expects the configuration file will have a section, named "AzureAd" as default, with the necessary settings to initialize authentication options.

public MicrosoftIdentityAppCallsWebApiAuthenticationBuilder EnableTokenAcquisitionToCallDownstreamApi()

Returns

MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

The authentication builder to chain.