Signal-iOS/SignalServiceKit/SecureValueRecovery/KeyBackupService/KBSAuthCredential.swift
2023-05-16 13:59:52 -07:00

17 lines
463 B
Swift

//
// Copyright 2023 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
//
import Foundation
// Transparent wrapper that exists purely to make it clear to readers
// that the credential must be for kbs, not an arbitrary RemoteAttestation.Auth.
public struct KBSAuthCredential: Equatable, Codable {
public let credential: RemoteAttestation.Auth
public init(credential: RemoteAttestation.Auth) {
self.credential = credential
}
}