PlacesAppCheckTokenProvider

public 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 methods

abstract ListenableFuture<String>

Fetches the App Check token of current device and application.

Public methods

fetchAppCheckToken

abstract ListenableFuture<StringfetchAppCheckToken()

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.