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
stringThe resource path.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity with details about the identity of the user.
Returns
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
stringThe resource path.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity with details about the identity of the user.
options
ResourceProviderGetOptionsThe ResourceProviderGetOptions which provides operation parameters.
Returns
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
stringThe resource path.
requestPayload
stringThe optional request payload.
formFile
ResourceProviderFormFileThe optional file attached to the request.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity with details about the identity of the user.