code: function Authority(authorityUrl, validateAuthority) {
    this._log = null;
    this._url = url.parse(authorityUrl);
    this._validateAuthorityUrl();
  
    this._validated = !validateAuthority;
    this._host = null;
    this._tenant = null;
    this._parseAuthority();
  
    this._authorizationEndpoint = null;
    this._tokenEndpoint = null;
    this._deviceCodeEndpoint = null;
    this._isAdfsAuthority = (this._tenant.toLowerCase() === "adfs");
  }
docs: Constructs an Authority object with a specific authority URL.
  @private
  @constructor
  @param {string}   authorityUrl        A URL that identifies a token authority.
  @param {bool}     validateAuthority   Indicates whether the Authority url should be validated as an actual AAD
  authority.  The default is true.