# Google.Play.Integrity.StandardIntegrityToken

Response of [StandardIntegrityTokenProvider.Request](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider_1aca1ca5d90d376bbfe020a513019581ea).

## Summary

| ### Properties ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityToken#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken_1a1ef8aa71ed313f5d397190d2d76f7735` | `string` A token which contains the response for the integrity related enquiries. |

| ### Public functions ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityToken#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken_1a2223afe63c926e59dbc1fd2d804587de(int typeCode)` | `PlayAsyncOperation< https://developer.android.com/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a664149de1380fe4ef98779a01ef9e3d2, https://developer.android.com/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0 >` Displays a dialog to the user. |

## Properties

### Token

```c#
string Token
```
A token which contains the response for the integrity related enquiries.

## Public functions

### ShowDialog

```c#
PlayAsyncOperation< IntegrityDialogResponseCode, StandardIntegrityErrorCode > ShowDialog(
  int typeCode
)
```
Displays a dialog to the user.

This method can only be called once per Integrity API response.

<br />

Details Parameters `typeCode` determines which Integrity dialog type should be shown. See <https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/model/IntegrityDialogTypeCode> for the supported types.

DEPRECATED: Please use [StandardIntegrityManagerV2.ShowDialog(StandardIntegrityDialogRequest)](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityManagerV2#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManagerV2_1a003e3336ee1e8e96665ad76b52dbf318) instead.

<br />

| Details ||
|---|---|
| **Returns** | A PlayAsyncOperation{IntegrityDialogResponseCode, StandardIntegrityErrorCode} that returns [IntegrityDialogResponseCode](https://developer.android.com/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a664149de1380fe4ef98779a01ef9e3d2) on successful callback or [StandardIntegrityErrorCode](https://developer.android.com/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0) on failure callback. |