Signal-iOS/SignalServiceKit/Account/OWSIdentity.swift
2025-10-24 15:38:03 -05:00

18 lines
528 B
Swift

//
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//
/// Distinguishes which kind of identity we're referring to.
///
/// The ACI ("account identifier") represents the user in question,
/// while the PNI ("phone number identifier") represents the user's phone number (e164).
///
/// And yes, that means the full enumerator names mean "account identifier identity" and
/// "phone number identifier identity".
@objc
public enum OWSIdentity: UInt8, Codable {
case aci = 0
case pni = 1
}