---
title: state
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/asauthorizationappleidcredential/state
---

# state

An arbitrary string that your app provides to the request that generates the credential.

## Declaration

```swift
var state: String? { get }
```

## See Also

### Identifying a User

- [identityToken](authenticationservices/asauthorizationappleidcredential/identitytoken.md)
- [authorizationCode](authenticationservices/asauthorizationappleidcredential/authorizationcode.md)
- [user](authenticationservices/asauthorizationappleidcredential/user.md)
