Instance Property

evaluatedPolicyDomainState

The current state of the evaluated policy domain.

Declaration

var evaluatedPolicyDomainState: Data? { get }

Discussion

This property returns a value only when the canEvaluatePolicy(_:error:) method succeeds for a biometric policy or the evaluatePolicy(_:localizedReason:reply:) method is called and a successful biometric authentication is performed. Otherwise, nil is returned.

The returned data is an opaque structure. It can be used to compare with other values returned by this property to determine whether the authorized database has been updated. However, the nature of the change cannot be determined from this data.

See Also

Evaluating Authentication Policies

var maxBiometryFailures: NSNumber?

The number of biometric authentication failures after which the context falls back to another mechanism.

Deprecated
Evaluation Options

Legacy options used in evaluating a policy.