共用方式為


WebApiBuilders Class

Definition

Web API authentication builder.

public static class WebApiBuilders
type WebApiBuilders = class
Public Class WebApiBuilders
Inheritance
WebApiBuilders

Methods

EnableTokenAcquisition(Action<ConfidentialClientApplicationOptions>, String, IServiceCollection, IConfigurationSection)

Allows a higher level abstraction of security token (i.e. System.IdentityModel.Tokens.Jwt and more modern, Microsoft.IdentityModel.JsonWebTokens) to be used with Microsoft Identity Web. Developers should continue to use EnableTokenAcquisitionToCallDownstreamApi. This API is not considered part of the public API and may change.

Applies to