---
title: "init(requirement:)"
framework: localauthentication
role: symbol
role_heading: Initializer
path: "localauthentication/laright/init(requirement:)"
---

# init(requirement:)

Creates a right with the authentication requirements you supply.

## Declaration

```swift
init(requirement: LAAuthenticationRequirement)
```

## See Also

### Authorizing a right

- [init()](localauthentication/laright/init().md)
- [tag](localauthentication/laright/tag.md)
- [authorize(localizedReason:completion:)](localauthentication/laright/authorize(localizedreason:completion:).md)
- [authorize(localizedReason:in:completion:)](localauthentication/laright/authorize(localizedreason:in:completion:).md)
