|
|
@ -18,7 +18,7 @@ abstract interface class Credentials { |
|
|
|
/// Username |
|
|
|
/// Username |
|
|
|
abstract final String username; |
|
|
|
abstract final String username; |
|
|
|
|
|
|
|
|
|
|
|
/// Password |
|
|
|
/// App password |
|
|
|
abstract final String? password; |
|
|
|
abstract final String? password; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -34,6 +34,7 @@ class Account implements Credentials { |
|
|
|
serverURL, |
|
|
|
serverURL, |
|
|
|
loginName: username, |
|
|
|
loginName: username, |
|
|
|
password: password, |
|
|
|
password: password, |
|
|
|
|
|
|
|
appPassword: password, |
|
|
|
userAgentOverride: userAgent, |
|
|
|
userAgentOverride: userAgent, |
|
|
|
cookieJar: CookieJar(), |
|
|
|
cookieJar: CookieJar(), |
|
|
|
); |
|
|
|
); |
|
|
|