Interface IManagementCapabilitiesService
- Namespace
- FoundationaLLM.Common.Interfaces
- Assembly
- FoundationaLLM.Common.dll
Defines a mechanism to restrict access to resource providers and resource types.
public interface IManagementCapabilitiesService
- Extension Methods
Remarks
Implementations of this interface should provide logic to determine whether a given resource path is available for use, such as limiting the exposed resource provider capabilities in certain APIs.
Methods
IsResourcePathAvailable(HttpMethod, ResourcePath)
Determines whether the specified resource path is available for the given HTTP method.
bool IsResourcePathAvailable(HttpMethod method, ResourcePath resourcePath)
Parameters
method
HttpMethodresourcePath
ResourcePathThe resource path to evaluate for availability.
Returns
IsValidRequestPayload(object)
Determines whether the provided request payload is valid.
bool IsValidRequestPayload(object requestPayload)
Parameters
requestPayload
object