# PlacesAppCheckTokenProvider


```
interface PlacesAppCheckTokenProvider
```

<br />

*** ** * ** ***

An interface for fetching the App Check token.

Note: The App Check integration will only work on new Places API.

The App Check token is used to authenticate the client device and application to the Places API.

## Summary

| ### Public functions |
|---|---|
| `https://guava.dev/releases/21.0/api/docs/com/google/common/util/concurrent/ListenableFuture.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!>!` | `https://developers.google.com/maps/documentation/places/android-sdk/reference/kotlin/com/google/android/libraries/places/api/auth/PlacesAppCheckTokenProvider#fetchAppCheckToken()()` Fetches the App Check token of current device and application. |

## Public functions

### fetchAppCheckToken

```
fun fetchAppCheckToken(): ListenableFuture<String!>!
```

Fetches the App Check token of current device and application. And this method will be called as part of every API request.

| Returns |
|---|---|
| `https://guava.dev/releases/21.0/api/docs/com/google/common/util/concurrent/ListenableFuture.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!>!` | A `https://guava.dev/releases/21.0/api/docs/com/google/common/util/concurrent/ListenableFuture.html` of the App Check token. |