mirror of
https://github.com/bitwarden/ios.git
synced 2026-06-19 13:08:28 -05:00
23 lines
524 B
Swift
23 lines
524 B
Swift
import Foundation
|
|
import Networking
|
|
|
|
// MARK: - VerifyEmailTokenRequestRequestModel
|
|
|
|
/// The data to include in the body of a `VerifyEmailTokenRequestRequest`.
|
|
///
|
|
struct VerifyEmailTokenRequestModel: Equatable {
|
|
// MARK: Properties
|
|
|
|
/// The email being used to create the account.
|
|
let email: String
|
|
|
|
/// The token used to verify the email.
|
|
let emailVerificationToken: String
|
|
}
|
|
|
|
// MARK: JSONRequestBody
|
|
|
|
extension VerifyEmailTokenRequestModel: JSONRequestBody {
|
|
static let encoder = JSONEncoder()
|
|
}
|