ios/BitwardenShared/Core/Auth/Models/Response/StartRegistrationResponseModel.swift
2024-08-12 14:58:28 +01:00

18 lines
402 B
Swift

import Foundation
import Networking
// MARK: - StartRegistrationResponseModel
/// The response returned from the API upon sending the verification email.
///
struct StartRegistrationResponseModel: Response {
// MARK: Properties
/// The email verification token.
var token: String?
init(response: HTTPResponse) {
token = String(bytes: response.body, encoding: .utf8)
}
}