共用方式為


ControllerBaseExtensions Class

Definition

Extension methods to retrieve a Graph service client and interfaces used to call a downstream web API.

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

Methods

GetAuthorizationHeaderProvider(ControllerBase)

Get the authorization header provider.

GetDownstreamApi(ControllerBase)

Get the downstream API service from an ApiController.

GetGraphServiceClient(ControllerBase)

Get the Graph service client.

Applies to