TLoginResult
Result of SDKInstance.login. The portal answers by resolving, never by rejecting.
Three shapes (client 4.0.0): a signed-in session resolves with url: "/"; an account that
needs a second factor resolves with url pointing at the portal's confirmation page
(/confirm/TfaAuth… or /confirm/PhoneAuth…) and no session — call login again with the
one-time code; a failed attempt resolves with the error the portal caught, carrying message
and, for an HTTP error, status. A missing url is the reliable sign of failure: a portal that
rejects the credentials with a plain message sends no status.
type TLoginResult = object;