<!--
{
  "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/IntentAuthenticationPolicy/requiresAuthentication",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "App Intents"
    ],
    "preciseIdentifier" : "s:10AppIntents26IntentAuthenticationPolicyO08requiresD0yA2CmF"
  },
  "title" : "IntentAuthenticationPolicy.requiresAuthentication"
}
-->

# IntentAuthenticationPolicy.requiresAuthentication

A policy that requires authentication before running the app intent.

```
case requiresAuthentication
```

## Discussion

Use this policy if you require some type of authentication before the system runs the
app intent. If the app intent originates on one device, but runs on another device,
only one of the devices needs to be unlocked. For example, if someone starts an app
intent on their unlocked Apple Watch, the system doesn’t require additional authentication
even if your app intent’s code runs on a locked iPhone. If both devices are locked, the system
prompts the person to authenticate before running the app intent.

---

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)