openOAuth static method

void openOAuth(
  1. OAuthBrowser browser,
  2. String clientId, [
  3. String languageCode = 'en',
  4. bool reauth = false,
])

Implementation

static void openOAuth(OAuthBrowser browser, String clientId,
    [String languageCode = 'en', bool reauth = false]) {
  String url =
      'https://www.bungie.net/$languageCode/OAuth/Authorize?client_id=$clientId&response_type=code';
  if (reauth) {
    url = '$url&reauth=true';
  }
  browser.open(url);
}