Class

TKToken

A representation of a hardware-based cryptographic token.

Declaration

class TKToken : NSObject

Overview

Topics

Creating Tokens

init(tokenDriver: TKTokenDriver, instanceID: TKToken.InstanceID)

Initializes a token using the specified driver.

Responding to Session Creation

protocol TKTokenDelegate

The interface that a token delegate implements to respond to session creation events.

Accessing the Driver

Accessing Keychain Items

var keychainContents: TKTokenKeychainContents?

The contents of the keychain for this token.

class TKTokenKeychainContents

A representation of the state of the keychain for a particular token.

class TKTokenKeychainItem

An abstract base class for managing a token’s contents as keychain items.

class TKTokenKeychainCertificate

A token’s certificate as stored in the keychain.

class TKTokenKeychainKey

A token's key as stored in the keychain.

typealias TKToken.ObjectID

A unique and persistent identifier of a particular token object.

Relationships

Inherits From

Conforms To

See Also

Two-Factor Authentication

Authenticating Users with a Cryptographic Token

Grant access to user accounts and the keychain by creating a token driver app extension.

class TKTokenDriver

The abstract base class for building token drivers.

class TKTokenSession

A token session that manages the authentication state of a token.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software