Interface IUserClaimsProviderService
- Namespace
 - FoundationaLLM.Common.Interfaces
 
- Assembly
 - FoundationaLLM.Common.dll
 
Provides a common interface for retrieving and resolving user claims to a UnifiedUserIdentity object.
public interface IUserClaimsProviderService
  - Extension Methods
 
Methods
GetSecurityGroupIds(ClaimsPrincipal?)
Returns a list of security group identifiers from the provided ClaimsPrincipal.
List<string>? GetSecurityGroupIds(ClaimsPrincipal? userPrincipal)
  Parameters
userPrincipalClaimsPrincipalThe principal that provides multiple claims-based identities.
Returns
GetUserIdentity(ClaimsPrincipal?)
Returns a UnifiedUserIdentity object from the provided ClaimsPrincipal.
UnifiedUserIdentity? GetUserIdentity(ClaimsPrincipal? userPrincipal)
  Parameters
userPrincipalClaimsPrincipalThe principal that provides multiple claims-based identities.
Returns
IsServicePrincipal(ClaimsPrincipal)
Inidicates whether the specified principal is a service principal or not.
bool IsServicePrincipal(ClaimsPrincipal userPrincipal)
  Parameters
userPrincipalClaimsPrincipalThe ClaimsPrincipal object providing details about the security principal.