openOAuth static method
void
openOAuth(
- OAuthBrowser browser,
- String clientId, [
- String languageCode = 'en',
- 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);
}