VerIDUser
@objc
public class VerIDUser : NSObject, Codable
Represents a user and her/his registered bearings
-
Identifier for the user
Declaration
Swift
@objc public let userId: String
-
Bearings registered for this user
Declaration
Swift
fileprivate(set) public var bearings: Set<VerIDBearing>
-
Default user ID
Convenience value to use if your app only has one user
Declaration
Swift
@objc public static let defaultUserId: String
-
Declaration
Swift
required public init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws