getBaseUri method

String getBaseUri()

returns the base URI

Implementation

String getBaseUri() {
  if (isB2C) {
    return "https://$tenant.b2clogin.com/$tenant.onmicrosoft.com";
  } else {
    return "https://login.microsoftonline.com/$tenant";
  }
}