mirror of
https://github.com/bitwarden/ios.git
synced 2026-04-13 01:13:26 -05:00
23 lines
553 B
Swift
23 lines
553 B
Swift
import Foundation
|
|
import Networking
|
|
|
|
// MARK: - ResendEmailCodeRequestModel
|
|
|
|
/// API request model for re-sending the two-factor verification code email.
|
|
///
|
|
struct ResendEmailCodeRequestModel: JSONRequestBody {
|
|
// MARK: Properties
|
|
|
|
/// The device identifier.
|
|
let deviceIdentifier: String
|
|
|
|
/// The email to send the verification code to.
|
|
let email: String
|
|
|
|
/// The master password hash, if available.
|
|
let masterPasswordHash: String?
|
|
|
|
/// The single-sign on token, if available.
|
|
let ssoEmail2FaSessionToken: String?
|
|
}
|