getAllAccounts method

List<AccountInfo> getAllAccounts()

Returns all accounts that MSAL currently has data for (the account object is created at the time of successful login) or empty array when no accounts are found.

Implementation

List<AccountInfo> getAllAccounts() {
  return _callJsMethod(() => _jsObject
      .getAllAccounts()
      .cast<interop.AccountInfo>()
      .map((jsAccount) => AccountInfo._fromJsObject(jsAccount))
      .toList());
}