Type Alias UserIdentifier

UserIdentifier: SpecUserIdentifier | {
    type: Exclude<string, SpecUserIdentifier["type"]>;
    [key: string]: any;
}

User Identifiers usable for login & user-interactive authentication.

Extensibly allows more than Matrix specified identifiers.