# IntegrityDialogRequest.IntegrityResponse.TokenResponse

<br />

```
public final class IntegrityDialogRequest.IntegrityResponse.TokenResponse extends IntegrityDialogRequest.IntegrityResponse
```

<br />

|---|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html)                                                                                                                                                                                  |||
| ↳ | [com.google.android.play.core.integrity.IntegrityDialogRequest.IntegrityResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse)                                ||
|   | ↳ | [com.google.android.play.core.integrity.IntegrityDialogRequest.IntegrityResponse.TokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse.TokenResponse) |

*** ** * ** ***

Represents a successful integrity check, containing the[IntegrityTokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenResponse).

## Summary

|                                                                                                                                                                                                  ### Public constructors                                                                                                                                                                                                   |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [TokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse.TokenResponse#TokenResponse(com.google.android.play.core.integrity.IntegrityTokenResponse))`(`[IntegrityTokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenResponse)` token)` |

|                                                                  ### Public methods                                                                   |
|-------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [IntegrityTokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenResponse) | [getTokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityDialogRequest.IntegrityResponse.TokenResponse#getTokenResponse())`()` Returns the associated[IntegrityTokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenResponse) |

## Public constructors

### TokenResponse

```
public TokenResponse(IntegrityTokenResponse token)
```  

## Public methods

### getTokenResponse

```
public IntegrityTokenResponse getTokenResponse()
```

Returns the associated[IntegrityTokenResponse](https://developer.android.com/google/play/integrity/reference/com/google/android/play/core/integrity/IntegrityTokenResponse)