TKMKeyDetails
@objc(TKMKeyDetails)
public class TKMKeyDetails : NSObject
A set of information on a locally available mobile key.
-
Returns the corresponding grant’s ID. Always available. Each mobile key is issued based on a grant.
Declaration
Swift
@objc public let grantId: String
-
Returns until when this mobile key is valid.
Declaration
Swift
@objc public let validBefore: Date?
-
Returns from which point in time this mobile key can be renewed. Tapkey prevents renewal of mobile keys for a certain time after the key has been issued.
Declaration
Swift
@objc public let renewableFrom: Date?
-
Returns at what point this mobile key is scheduled to be automatically renewed.
Declaration
Swift
@objc public let autoRenewalScheduledAt: Date?
-
Returns the latest point in time until when the key should get renewed. If it’s not renewed before this time, there may be an issue and the user may be informed, if appropriate.
Declaration
Swift
@objc public let autorenewedBefore: Date?
-
Returns the corresponding grant, if available. Each mobile key is issued based on a grant.
Important
Deprecated as of version 2. UsegrantId
instead, and use the Management API to query for Grant details.Declaration
Swift
@available(*, deprecated, message: "Deprecated as of version 2. Use `grantId` instead, and use the Management API to query for Grant details.") @objc public let grant: TKMGrant?