This is an instance of a verification code.
It represents a code at a specific point in time.
Members (11)
get · iOS 27.0+
embeddedDomains
TypeScript
get embeddedDomains(): Array<string>
Swift declaration
var embeddedDomains: [String]
Embedded page or frame domains. For domain-bound codes, this array contains all the domains specified after the code field.
- SeeAlso: https://github.com/WICG/sms-one-time-codes
set · iOS 27.0+
embeddedDomains
TypeScript
set embeddedDomains(value: Array<string>)
Swift declaration
var embeddedDomains: [String]
Embedded page or frame domains. For domain-bound codes, this array contains all the domains specified after the code field.
- SeeAlso: https://github.com/WICG/sms-one-time-codes
get · iOS 27.0+
id
TypeScript
get id(): string
Swift declaration
var id: UUID
The stable identity of the entity associated with this instance.
set · iOS 27.0+
id
TypeScript
set id(value: string)
Swift declaration
var id: UUID
The stable identity of the entity associated with this instance.
The system’s best understanding of the code that can be used for verification purposes.
This code may be detected from heuristics or parsed from a well-known format.
set · iOS 27.0+
code
TypeScript
set code(value: string)
Swift declaration
var code: String
The system’s best understanding of the code that can be used for verification purposes.
This code may be detected from heuristics or parsed from a well-known format.
get · iOS 27.0+
domain
TypeScript
get domain(): (string) | null
Swift declaration
var domain: String?
The domain associated with the code, if one exists.
- SeeAlso: https://github.com/WICG/sms-one-time-codes
set · iOS 27.0+
domain
TypeScript
set domain(value: (string) | null)
Swift declaration
var domain: String?
The domain associated with the code, if one exists.
- SeeAlso: https://github.com/WICG/sms-one-time-codes