Structure
AppleIdentityToken.UserDetectionStatus
Taken from https://developer.apple.com/documentation/authenticationservices/asuserdetectionstatus With slight modification to make adding new cases non-breaking.
struct UserDetectionStatus
Topics
Initializers
init(from: any Decoder) throwsCreates a new instance by decoding from the given decoder.init(rawValue: Int)Creates a new option set from the given raw value.
Instance Properties
let rawValue: IntThe corresponding value of the raw type.
Instance Methods
func encode(to: any Encoder) throwsEncodes this value into the given encoder.
Type Properties
static let likelyReal: AppleIdentityToken.UserDetectionStatusA hint that we have high confidence that the user is realstatic let unknown: AppleIdentityToken.UserDetectionStatusWe could not determine the value. New users in the ecosystem will get this value as well, so you should not block these users, but instead treat them as any new user through standard email sign up flowsstatic let unsupported: AppleIdentityToken.UserDetectionStatusNot supported on current platform, ignore the value
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.EquatableSwift.ExpressibleByArrayLiteralSwift.OptionSetSwift.RawRepresentableSwift.SendableSwift.SendableMetatypeSwift.SetAlgebra