# Google.Play.Integrity.StandardIntegrityManager

Manages requests for integrity information.

## Summary

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

| ### Constructors and Destructors ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityManager#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManager_1a1f4cd1196772c0ba5ac0cd35741a498a()` Constructor. ||

| ### Public functions ||
|---|---|
| `https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityManager#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManager_1aa58935c538b33ea73f9862c143412974(https://developer.android.com/reference/unity/class/Google/Play/Integrity/PrepareIntegrityTokenRequest#classGoogle_1_1Play_1_1Integrity_1_1PrepareIntegrityTokenRequest request)` | `PlayAsyncOperation< https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider, https://developer.android.com/reference/unity/namespace/Google/Play/Integrity#namespaceGoogle_1_1Play_1_1Integrity_1a18c5aa90bec0dee70e84b58580baf5b0 >` Prepares the integrity token and makes it available for requesting via [StandardIntegrityTokenProvider](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider). |

## Public functions

### PrepareIntegrityToken

```c#
PlayAsyncOperation< StandardIntegrityTokenProvider, StandardIntegrityErrorCode > PrepareIntegrityToken(
  PrepareIntegrityTokenRequest request
)
```
Prepares the integrity token and makes it available for requesting via [StandardIntegrityTokenProvider](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider).

<br />

Details Parameters `request` The object to prepare the integrity token with. **Returns** A PlayAsyncOperation{StandardIntegrityTokenProvider, StandardIntegrityErrorCode} that returns [StandardIntegrityTokenProvider](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider) 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.PrepareIntegrityToken(PrepareIntegrityTokenRequest)](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityManagerV2#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityManagerV2_1a942f117fe63edc731bd50cf5fb7d7ce2) instead.

You can call this method from time to time in order to refresh the resulting [StandardIntegrityTokenProvider](https://developer.android.com/reference/unity/class/Google/Play/Integrity/StandardIntegrityTokenProvider#classGoogle_1_1Play_1_1Integrity_1_1StandardIntegrityTokenProvider).

The API makes a call to Google's servers and hence requires a network connection.

### StandardIntegrityManager

```c#
 StandardIntegrityManager()
```
Constructor.