다음을 통해 공유


MicrosoftIdentityAppCallsWebApiAuthenticationBuilder Class

Definition

Authentication builder returned by the EnableTokenAcquisitionToCallDownstreamApi methods enabling you to decide token cache implementations.

public class MicrosoftIdentityAppCallsWebApiAuthenticationBuilder : Microsoft.Identity.Web.MicrosoftIdentityBaseAuthenticationBuilder
type MicrosoftIdentityAppCallsWebApiAuthenticationBuilder = class
    inherit MicrosoftIdentityBaseAuthenticationBuilder
Public Class MicrosoftIdentityAppCallsWebApiAuthenticationBuilder
Inherits MicrosoftIdentityBaseAuthenticationBuilder
Inheritance
MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

Properties

ConfigurationSection

Configuration section from which to bind options.

(Inherited from MicrosoftIdentityBaseAuthenticationBuilder)
Services

The services being configured.

(Inherited from MicrosoftIdentityBaseAuthenticationBuilder)

Methods

AddDistributedTokenCaches()

Add distributed token caches.

AddInMemoryTokenCaches(Action<MsalMemoryTokenCacheOptions>, Action<MemoryCacheOptions>)

Add in memory token caches, if no other implementation of IMsalTokenCacheProvider was already added.

Extension Methods

AddDownstreamWebApi(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, IConfiguration)
Obsolete.

Adds a named downstream web API service related to a specific configuration section.

AddDownstreamWebApi(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, Action<DownstreamWebApiOptions>)
Obsolete.

Adds a named downstream web API service initialized with delegates.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, IConfigurationSection)

Add support to call Microsoft Graph. From a named option and a configuration section.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Action<MicrosoftGraphOptions>)

Add support to call Microsoft Graph. From a named options and a configuration method.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Func<IAuthenticationProvider,GraphServiceClient>, IEnumerable<String>)

Add support to call Microsoft Graph.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, String)

Add support to call Microsoft Graph. From a base Graph URL and a default scope.

AddMicrosoftGraphAppOnly(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Func<IAuthenticationProvider,GraphServiceClient>)

Add support to call Microsoft Graph.

AddSessionTokenCaches(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder)

Add a token cache based on session cookies

Applies to