<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AppIntent/authenticationPolicy",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A6IntentP20authenticationPolicyAA0c14AuthenticationE0OvpZ"
  },
  "title" : "authenticationPolicy"
}
-->

# authenticationPolicy

The authentication policy to enforce when running the app intent.

```
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`](/documentation/AppIntents/IntentAuthenticationPolicy/alwaysAllowed), which allows the intent to run without
authentication, including when the device is locked.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)