UserIdentifierType Enum

Definition

Indicates the type of UserIdentifier

public enum UserIdentifierType
type UserIdentifierType = 
Public Enum UserIdentifierType
Inheritance
UserIdentifierType

Fields

OptionalDisplayableId 1

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 2

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 0

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.

Applies to