azure-devops-ui
Version:
React components for building web UI in Azure DevOps
26 lines (25 loc) • 1.12 kB
TypeScript
import { IIdentity } from "./../Components/Persona/Persona.Props";
export declare namespace SubjectType {
const EntraIDUser = "aad";
const EntraIDGroup = "aadgp";
const EntraIDServicePrincipal = "aadsp";
}
export declare namespace IdentitySeparators {
var IDENTITY_UNIQUEFIEDNAME_SEPERATOR_START: string;
var IDENTITY_UNIQUEFIEDNAME_SEPERATOR_END: string;
var AAD_IDENTITY_UNIQUEFIEDNAME_SEPERATOR_START: string;
var AAD_IDENTITY_UNIQUEFIEDNAME_SEPERATOR_END: string;
var TFS_GROUP_PREFIX: string;
var AAD_IDENTITY_USER_PREFIX: string;
var AAD_IDENTITY_GROUP_PREFIX: string;
var IDENTITY_UNIQUENAME_SEPARATOR: string;
var DESCRIPTOR_PREFIX: string;
}
/**
* Returns a distinct display name string representation for an identity reference object recognizable by WIT
* The AAD identity string representation we use for the control is - name <<objectId\email>>
*
* @param identity An identity
*/
export declare function getUniquefiedIdentityName(identity: IIdentity): string;
export declare function isEntraIDIdentity(entity: IIdentity): boolean;