UserIdentifierType Enum

Definition

Indicates the type of UserIdentifier

public enum UserIdentifierType
Inheritance
UserIdentifierType

Fields

OptionalDisplayableId

When a UserIdentifier of this type is passed in a token acquisition operation, the operation restricts cache matches to the value provided and injects it as a hint in the authentication experience. However the end user could overwrite that value, resulting in a token issued to a different account than the one specified in the UserIdentifier in input.

RequiredDisplayableId

When a UserIdentifier of this type is passed in a token acquisition operation, the operation is guaranteed to return a token issued for the user with corresponding Microsoft.IdentityModel.Clients.ActiveDirectory.UserIdentifier.DisplayableId (UPN or email) or fail

UniqueId

When a UserIdentifier of this type is passed in a token acquisition operation, the operation is guaranteed to return a token issued for the user with corresponding Microsoft.IdentityModel.Clients.ActiveDirectory.UserIdentifier.UniqueId or fail.