---
title: nonce
framework: authenticationservices
role: symbol
role_heading: Instance Property
path: authenticationservices/asauthorizationopenidrequest/nonce
---

# nonce

A string value to pass to the identity provider.

## Declaration

```swift
var nonce: String? { get set }
```

## Discussion

Discussion You can verify this value with the identity token provided as part of a successful ASAuthorization response. The nonce size may depend on the actual technology used, and an error might be returned by the request execution.
