Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface CalendarTokenProvider

Known subtypesOidcCalendarTokenProvider

Supplies app-owned OAuth tokens. forceRefresh is true after a 401 response.

Methods

public abstract AsyncResource<CalendarAuthToken> getToken(String[] requiredScopes, boolean forceRefresh)

Method details

getToken

public abstract AsyncResource<CalendarAuthToken> getToken(String[] requiredScopes, boolean forceRefresh)