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, Func<HttpMethod, ResourcePath, bool>?)
Handles a HTTP DELETE request for a specified resource path.
Task HandleDeleteAsync(string resourcePath, UnifiedUserIdentity userIdentity, Func<HttpMethod, ResourcePath, bool>? resourcePathAvailabilityChecker = null)
  Parameters
resourcePathstringThe resource path.
userIdentityUnifiedUserIdentityThe UnifiedUserIdentity with details about the identity of the user.
resourcePathAvailabilityCheckerFunc<HttpMethod, ResourcePath, bool>An optional resource path availability checker used to block certain resource providers and resource types.
Returns
HandleGetAsync(string, UnifiedUserIdentity, ResourceProviderGetOptions?, Func<HttpMethod, ResourcePath, bool>?)
Handles a HTTP GET request for a specified resource path.
Task<object> HandleGetAsync(string resourcePath, UnifiedUserIdentity userIdentity, ResourceProviderGetOptions? options = null, Func<HttpMethod, ResourcePath, bool>? resourcePathAvailabilityChecker = null)
  Parameters
resourcePathstringThe resource path.
userIdentityUnifiedUserIdentityThe UnifiedUserIdentity with details about the identity of the user.
optionsResourceProviderGetOptionsThe ResourceProviderGetOptions which provides operation parameters.
resourcePathAvailabilityCheckerFunc<HttpMethod, ResourcePath, bool>An optional resource path availability checker used to block certain resource providers and resource types.
Returns
HandlePostAsync(string, string?, ResourceProviderFormFile?, UnifiedUserIdentity, Func<HttpMethod, ResourcePath, bool>?, Func<object, bool>?)
Handles a HTTP POST request for a specified resource path.
Task<object> HandlePostAsync(string resourcePath, string? requestPayload, ResourceProviderFormFile? formFile, UnifiedUserIdentity userIdentity, Func<HttpMethod, ResourcePath, bool>? resourcePathAvailabilityChecker = null, Func<object, bool>? requestPayloadValidator = null)
  Parameters
resourcePathstringThe resource path.
requestPayloadstringThe optional request payload.
formFileResourceProviderFormFileThe optional file attached to the request.
userIdentityUnifiedUserIdentityThe UnifiedUserIdentity with details about the identity of the user.
resourcePathAvailabilityCheckerFunc<HttpMethod, ResourcePath, bool>An optional resource path availability checker used to block certain resource providers and resource types.
requestPayloadValidatorFunc<object, bool>An optional function to validate the request payload after deserialization.