mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-13 02:58:59 -06:00
18 lines
402 B
Swift
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)
|
|
}
|
|
}
|