ContactItemVerification
public struct ContactItemVerification : Equatable
Represents the verification details for a contact item.
-
The URL for contact item OTP verification.
This link should be used to send OTP code.
Declaration
Swift
public let verification: URL
-
The URL for resending OTP (One-Time Password).
If
resendEarliestDate
is in the past, call to this URL will trigger new OTP code to be sent to the user.Declaration
Swift
public let resendOTP: URL
-
The earliest date to resend OTP.
Declaration
Swift
public let resendEarliestDate: Date
-
Provides a stub instance of
ContactItemVerification
for testing purposes.Declaration
Swift
static let stub: ContactItemVerification