You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
557 B
31 lines
557 B
class LoginParams {
|
|
LoginParams({
|
|
required this.username,
|
|
required this.password,
|
|
});
|
|
String username;
|
|
String password;
|
|
}
|
|
|
|
class SmsLoginParams {
|
|
SmsLoginParams({
|
|
required this.phonenumber,
|
|
required this.code,
|
|
});
|
|
String phonenumber;
|
|
String code;
|
|
}
|
|
|
|
class PortalLoginParams extends LoginParams {
|
|
PortalLoginParams({
|
|
this.enterpriseId,
|
|
required super.username,
|
|
required super.password,
|
|
});
|
|
String? enterpriseId;
|
|
}
|
|
|
|
class RefreshTokenParams {
|
|
RefreshTokenParams(this.refreshToken);
|
|
String refreshToken;
|
|
}
|
|
|