When I try to make calls to a token-secured RemoteResource using the new 100.0.0 API, I get an exception:
"com.esri.arcgisruntime.io.JsonEmbeddedException: Token Required"
Is there a way to add a Token to a UserCredentials object? In the 10.2.4, I would create a UserCredentials object, and simply call setUserToken(), but that method no longer exists. In the new API, the UserCredentials class only takes a username and a password. There is another type of Credential, OAuthTokenCredential, but this is not appropriate to my use case because I'm not using OAuth.
How is non-OAuth token-based authentication handled in the new API?