TKTokenOperationConstraint

Type Alias TKTokenOperationConstraint 

Source
pub type TKTokenOperationConstraint = AnyObject;
Available on crate feature TKToken only.
Expand description

TKTokenOperationConstraint represents authentication constraint of token object for specific token operation.

§Persistently identifies constraint for performing specific operation on specific object. Value of constraint can be either:

§true: the operation is always allowed without any authentication needed

false: the operation is never allowed, typically not implemented

  • any other plist-compatible value: defined by the token extension implementation. Such constraint is opaque to the system and is required to stay constant for the given object during the whole token’s lifetime. For example, SmartCard token extension might decide to use string ‘PIN’ to indicate that the operation is protected by presenting valid PIN to the card first.

See also Apple’s documentation

Aliased Type§

#[repr(C)]
pub struct TKTokenOperationConstraint { /* private fields */ }