PCSDKModule Documentation

Structure PCUser​Backup​Data

public struct PCUserBackupData: Codable  

The user's backup data

PCUserBackupData PCUserBackupData Codable Codable PCUserBackupData->Codable

Conforms To

Codable

Initializers

init(username:​user​ID:​system​ID:​interaction​URL:​encrypted​Codeword:​)

public init(
        username: String,
        userID: String,
        systemID: String,
        interactionURL: URL,
        encryptedCodeword: Data
    )  

Creates the new instance of the PCUserBackupData

Parameters

username String

User's name

user​ID String

User's identifier

system​ID String

System identifier

interaction​URL URL

Interaction URL

encrypted​Codeword Data

Encrypted codeword to restore

Properties

username

public let username: String

User's name

user​ID

public let userID: String

Backup user's identifier

system​ID

public let systemID: String

Backup user's system identifier

interaction​URL

public let interactionURL: URL

Backup user's interaction URL

encrypted​Codeword

public let encryptedCodeword: Data

Encrypted codeword to restore