oauth2 top-level property

  1. @JS('google.accounts.oauth2')
GoogleAccountsOauth2 get oauth2

Binding to the google.accounts.oauth2 JS global.

See: https://developers.google.com/identity/oauth2/web/reference/js-reference

Implementation

@JS('google.accounts.oauth2')
external GoogleAccountsOauth2 get oauth2;