Contents

authenticationPolicy

The authentication policy to enforce when running the app intent.

Declaration

static var authenticationPolicy: IntentAuthenticationPolicy { get }

Discussion

Set the value of this property if you want someone to provide authentication before running the app intent. The default value of this property is IntentAuthenticationPolicy.alwaysAllowed, which allows the intent to run without authentication, including when the device is locked.

See Also

Specifying the authentication policy