Skip to main content

Overview

struct SeamCredential
Represents a Seam access credential for display, selection, and management.

Initializers

init(id:isManaged:name:location:providerName:expiry:cardNumber:code:supportedUnlockProximities:errors:)

init(id: String, isManaged: Bool, name: String, location: String, providerName: String?, expiry: Date?, cardNumber: String?, code: String?, supportedUnlockProximities: [SeamUnlockProximity], errors: [SeamCredentialError])

Instance Properties

cardNumber

The card number associated with this credential, if any.
let cardNumber: String?

code

The code associated with this credential, if any.
let code: String?

errors

The list of errors currently affecting this credential.
let errors: [SeamCredentialError]

expiry

The expiration date of the credential, if available.
let expiry: Date?

id

The unique identifier for this credential.
let id: String

isManaged

Indicates whether this credential was created and managed by the Seam API (true) or was discovered directly through the provider integration (false).
let isManaged: Bool

location

The credential’s associated location.
let location: String

name

The display name associated with this credential.
let name: String

providerName

The third party provider (latch, salto space) associated with this credential, if any.
let providerName: String?

supportedUnlockProximities

The set of proximity levels this credential supports, ordered by preference.
let supportedUnlockProximities: [SeamUnlockProximity]