PCSDKModule Documentation Beta

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

let username: String

User's name

user​ID

let userID: String

Backup user's identifier

system​ID

let systemID: String

Backup user's system identifier

interaction​URL

let interactionURL: URL

Backup user's interaction URL

encrypted​Codeword

let encryptedCodeword: Data

Encrypted codeword to restore