共用方式為


ServiceCollectionExtensions Class

Definition

Extensions for IServiceCollection for startup initialization of web APIs.

public static class ServiceCollectionExtensions
type ServiceCollectionExtensions = class
Public Module ServiceCollectionExtensions
Inheritance
ServiceCollectionExtensions

Methods

AddTokenAcquisition(IServiceCollection, Boolean)

Add the token acquisition service.

Applies to