---
title: authenticationFailed
framework: localauthentication
role: symbol
role_heading: Type Property
path: localauthentication/laerror-swift.struct/authenticationfailed
---

# authenticationFailed

The user failed to provide valid credentials.

## Declaration

```swift
static var authenticationFailed: LAError.Code { get }
```

## See Also

### Error Codes

- [appCancel](localauthentication/laerror-swift.struct/appcancel.md)
- [systemCancel](localauthentication/laerror-swift.struct/systemcancel.md)
- [userCancel](localauthentication/laerror-swift.struct/usercancel.md)
- [biometryDisconnected](localauthentication/laerror-swift.struct/biometrydisconnected.md)
- [biometryLockout](localauthentication/laerror-swift.struct/biometrylockout.md)
- [biometryNotAvailable](localauthentication/laerror-swift.struct/biometrynotavailable.md)
- [biometryNotEnrolled](localauthentication/laerror-swift.struct/biometrynotenrolled.md)
- [biometryNotPaired](localauthentication/laerror-swift.struct/biometrynotpaired.md)
- [touchIDLockout](localauthentication/laerror-swift.struct/touchidlockout.md)
- [touchIDNotAvailable](localauthentication/laerror-swift.struct/touchidnotavailable.md)
- [touchIDNotEnrolled](localauthentication/laerror-swift.struct/touchidnotenrolled.md)
- [invalidContext](localauthentication/laerror-swift.struct/invalidcontext.md)
- [invalidDimensions](localauthentication/laerror-swift.struct/invaliddimensions.md)
- [notInteractive](localauthentication/laerror-swift.struct/notinteractive.md)
- [passcodeNotSet](localauthentication/laerror-swift.struct/passcodenotset.md)
