AuthenticationMode.AccessTokenProvider (API Reference)
Package com.here.sdk.core.engine
Interface AuthenticationMode.AccessTokenProvider
- Enclosing class:
- AuthenticationMode
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This lambda is used to retrieve access token in synchronous manner. It returns the access token or null if it is not set. The lambda is called each time the access token is needed and it is executed on the main thread of the application.
-
Method Summary
-
Method Details
-
apply
This lambda is used to retrieve access token in synchronous manner. It returns the access token or null if it is not set. The lambda is called each time the access token is needed and it is executed on the main thread of the application.
- Returns:
Access token in case it is set or null otherwise.
-