Table of Contents

Interface IManagementProviderService

Namespace
FoundationaLLM.Common.Interfaces
Assembly
FoundationaLLM.Common.dll

Provides core services required by the Management API.

public interface IManagementProviderService
Extension Methods

Methods

HandleDeleteAsync(string, UnifiedUserIdentity)

Handles a HTTP DELETE request for a specified resource path.

Task HandleDeleteAsync(string resourcePath, UnifiedUserIdentity userIdentity)

Parameters

resourcePath string

The resource path.

userIdentity UnifiedUserIdentity

The UnifiedUserIdentity with details about the identity of the user.

Returns

Task

HandleGetAsync(string, UnifiedUserIdentity, ResourceProviderGetOptions?)

Handles a HTTP GET request for a specified resource path.

Task<object> HandleGetAsync(string resourcePath, UnifiedUserIdentity userIdentity, ResourceProviderGetOptions? options = null)

Parameters

resourcePath string

The resource path.

userIdentity UnifiedUserIdentity

The UnifiedUserIdentity with details about the identity of the user.

options ResourceProviderGetOptions

The ResourceProviderGetOptions which provides operation parameters.

Returns

Task<object>

The serialized form of the result of handling the request.

HandlePostAsync(string, string?, ResourceProviderFormFile?, UnifiedUserIdentity)

Handles a HTTP POST request for a specified resource path.

Task<object> HandlePostAsync(string resourcePath, string? requestPayload, ResourceProviderFormFile? formFile, UnifiedUserIdentity userIdentity)

Parameters

resourcePath string

The resource path.

requestPayload string

The optional request payload.

formFile ResourceProviderFormFile

The optional file attached to the request.

userIdentity UnifiedUserIdentity

The UnifiedUserIdentity with details about the identity of the user.

Returns

Task<object>

The serialized form of the result of handling the request.