Files
ios/BitwardenShared/Core/Auth/Models/Request/VerifyEmailTokenRequestModel.swift
2024-08-20 21:53:08 +01:00

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()
}