//
// 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 SVR2, not an arbitrary RemoteAttestation.Auth.
public struct SVR2AuthCredential: Equatable, Codable {
    public let credential: RemoteAttestation.Auth

    public init(credential: RemoteAttestation.Auth) {
        self.credential = credential
    }
}

public enum SVR2 {
    public typealias AuthMethod = SVR.AuthMethod
}
