Class IdentityManagementController
- Namespace
- FoundationaLLM.Management.API.Controllers
- Assembly
- FoundationaLLM.Management.API.dll
Provides account retrieval methods.
[Authorize(AuthenticationSchemes = "Bearer", Policy = "MicrosoftEntraIDStandard")]
[ApiController]
[Consumes("application/json", new string[] { })]
[Produces("application/json", new string[] { })]
[Route("instances/{instanceId}/identity")]
public class IdentityManagementController : Controller, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
- Inheritance
-
IdentityManagementController
- Implements
- Inherited Members
- Extension Methods
Constructors
IdentityManagementController(IOrchestrationContext, IIdentityManagementService, ILogger<IdentityManagementController>)
Provides account retrieval methods.
public IdentityManagementController(IOrchestrationContext callContext, IIdentityManagementService identityManagementService, ILogger<IdentityManagementController> logger)
Parameters
callContext
IOrchestrationContextThe call context containing user identity details.
identityManagementService
IIdentityManagementServiceThe IIdentityManagementService used for retrieving group account information.
logger
ILogger<IdentityManagementController>The ILogger used for logging.
Methods
GetGroup(string)
Retrieves a specific group account by its identifier.
[HttpGet("groups/{groupId}", Name = "GetGroup")]
public Task<IActionResult> GetGroup(string groupId)
Parameters
groupId
string
Returns
GetUser(string)
Retrieves a specific user account by its identifier.
[HttpGet("users/{userId}", Name = "GetUser")]
public Task<IActionResult> GetUser(string userId)
Parameters
userId
string
Returns
RetrieveGroups(ObjectQueryParameters)
Retrieves a list of group accounts with filtering and paging options.
[HttpPost("groups/retrieve", Name = "RetrieveGroups")]
public Task<IActionResult> RetrieveGroups(ObjectQueryParameters parameters)
Parameters
parameters
ObjectQueryParameters
Returns
RetrieveObjectsByIds(ObjectQueryParameters)
Retrieves user and group objects by the passed in list of IDs.
[HttpPost("objects/retrievebyids", Name = "RetrieveObjectsByIds")]
public Task<IActionResult> RetrieveObjectsByIds(ObjectQueryParameters parameters)
Parameters
parameters
ObjectQueryParameters
Returns
RetrieveUsers(ObjectQueryParameters)
Retrieves a list of user accounts with filtering and paging options.
[HttpPost("users/retrieve", Name = "RetrieveUsers")]
public Task<IActionResult> RetrieveUsers(ObjectQueryParameters parameters)
Parameters
parameters
ObjectQueryParameters