Does Delphi provide access to the Android Auth.GoogleSignInApi class?


More specifically, is it possible to translate this Java code, which retrieves a ID token, to Delphi?

GoogleSignInResult result = Auth.GoogleSignInApi.getSignInResultFromIntent(data);
if (result.isSuccess()) {
GoogleSignInAccount acct = result.getSignInAccount();
String idToken = acct.getIdToken();
mIdTokenTextView.setText(“ID Token: ” + idToken);
// TODO(user): send token to server and validate server-side
} else {
mIdTokenTextView.setText(“ID Token: null”);

I could not find a wrapper class in the Delphi Docwiki, or a feature request in the quality portal.

Comments are closed.