Interface AuthenticationMode.AccessTokenProvider
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.
@FunctionalInterface public static interface AuthenticationMode.AccessTokenProviderThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringapply()This lambda is used to retrieve access token in synchronous manner.
-
-
-
Method Detail
-
apply
@Nullable java.lang.String 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.
-
-