# Google.Play.Integrity.StandardIntegrityTokenProvider

Standard integrity token provider.

## Summary

Response of [StandardIntegrityManager.PrepareIntegrityToken](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityManager#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManager_1aa58935c538b33ea73f9862c143412974) call.

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

| ### Public functions ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider_1aca1ca5d90d376bbfe020a513019581ea(https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenRequest#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenRequest request)` | `PlayAsyncOperation< https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityToken#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken, https://developer.android.com/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0 >` Returns a token for integrity-related enquiries. |

## Public functions

### Request

```c#
PlayAsyncOperation< StandardIntegrityToken, StandardIntegrityErrorCode > Request(
  StandardIntegrityTokenRequest request
)
```
Returns a token for integrity-related enquiries.

<br />

Details Parameters `request` The object to request the integrity token with. **Returns** A PlayAsyncOperation{StandardIntegrityToken, StandardIntegrityErrorCode} that returns [StandardIntegrityToken](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityToken#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityToken) on successful callback or [StandardIntegrityErrorCode](https://developer.android.com/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0) on failure callback.

DEPRECATED: Please use [StandardIntegrityManagerV2.StandardIntegrityTokenProvider.Request(StandardIntegrityTokenRequest)](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityManagerV2/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManagerV2_1_1StandardIntegrityTokenProvider_1acc5cc4adc1064c2d56079480895a35be) instead.

This must be called only after [StandardIntegrityManager.PrepareIntegrityToken](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityManager#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManager_1aa58935c538b33ea73f9862c143412974) completes.