Class

TKTokenSession

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

Declaration

@interface TKTokenSession : NSObject

Overview

A token session communicates with its delegate to perform operations with its token that are bound to the authentication state.

A session is always instantiated by a TKToken instance through the token's delegate when the framework detects access to the token from a new authentication session.

Topics

Creating Token Sessions

- initWithToken:

Initializes a token session with the specified token.

Responding to Authentication Events

delegate

The token session delegate.

TKTokenSessionDelegate

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

Accessing the Token

token

The token to which the session is bound.

Relationships

Inherits From

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.

TKTokenDriver

The abstract base class for building token drivers.

TKToken

A representation of a hardware-based cryptographic token.