Compartir a través de


MicrosoftIdentityWebApiAuthenticationBuilderWithConfiguration Class

Definition

Builder for web API authentication with configuration.

public class MicrosoftIdentityWebApiAuthenticationBuilderWithConfiguration : Microsoft.Identity.Web.MicrosoftIdentityWebApiAuthenticationBuilder
type MicrosoftIdentityWebApiAuthenticationBuilderWithConfiguration = class
    inherit MicrosoftIdentityWebApiAuthenticationBuilder
Public Class MicrosoftIdentityWebApiAuthenticationBuilderWithConfiguration
Inherits MicrosoftIdentityWebApiAuthenticationBuilder
Inheritance
MicrosoftIdentityWebApiAuthenticationBuilderWithConfiguration

Properties

ConfigurationSection

Configuration section from which to bind options.

(Inherited from MicrosoftIdentityBaseAuthenticationBuilder)
Services

The services being configured.

(Inherited from MicrosoftIdentityBaseAuthenticationBuilder)

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.

EnableTokenAcquisitionToCallDownstreamApi(Action<ConfidentialClientApplicationOptions>)

Protects the web API with Microsoft identity platform (formerly Azure AD v2.0).

(Inherited from MicrosoftIdentityWebApiAuthenticationBuilder)

Applies to