PlacesAppCheckTokenProvider

interface PlacesAppCheckTokenProvider


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

ListenableFuture<String!>!

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
ListenableFuture<String!>!

A ListenableFuture of the App Check token.