@@ -3877,23 +3877,14 @@ impl PublishSettings {
38773877pub ( crate ) struct AuthLogoutSettings {
38783878 pub ( crate ) service : Service ,
38793879 pub ( crate ) username : Option < String > ,
3880-
3881- // Both CLI and configuration.
3882- pub ( crate ) network_settings : NetworkSettings ,
38833880}
38843881
38853882impl AuthLogoutSettings {
38863883 /// Resolve the [`AuthLogoutSettings`] from the CLI and filesystem configuration.
3887- pub ( crate ) fn resolve (
3888- args : AuthLogoutArgs ,
3889- global_args : & GlobalArgs ,
3890- filesystem : Option < & FilesystemOptions > ,
3891- environment : & EnvironmentOptions ,
3892- ) -> Self {
3884+ pub ( crate ) fn resolve ( args : AuthLogoutArgs ) -> Self {
38933885 Self {
38943886 service : args. service ,
38953887 username : args. username ,
3896- network_settings : NetworkSettings :: resolve ( global_args, filesystem, environment) ,
38973888 }
38983889 }
38993890}
@@ -3903,23 +3894,14 @@ impl AuthLogoutSettings {
39033894pub ( crate ) struct AuthTokenSettings {
39043895 pub ( crate ) service : Service ,
39053896 pub ( crate ) username : Option < String > ,
3906-
3907- // Both CLI and configuration.
3908- pub ( crate ) network_settings : NetworkSettings ,
39093897}
39103898
39113899impl AuthTokenSettings {
39123900 /// Resolve the [`AuthTokenSettings`] from the CLI and filesystem configuration.
3913- pub ( crate ) fn resolve (
3914- args : AuthTokenArgs ,
3915- global_args : & GlobalArgs ,
3916- filesystem : Option < & FilesystemOptions > ,
3917- environment : & EnvironmentOptions ,
3918- ) -> Self {
3901+ pub ( crate ) fn resolve ( args : AuthTokenArgs ) -> Self {
39193902 Self {
39203903 service : args. service ,
39213904 username : args. username ,
3922- network_settings : NetworkSettings :: resolve ( global_args, filesystem, environment) ,
39233905 }
39243906 }
39253907}
@@ -3931,25 +3913,16 @@ pub(crate) struct AuthLoginSettings {
39313913 pub ( crate ) username : Option < String > ,
39323914 pub ( crate ) password : Option < String > ,
39333915 pub ( crate ) token : Option < String > ,
3934-
3935- // Both CLI and configuration.
3936- pub ( crate ) network_settings : NetworkSettings ,
39373916}
39383917
39393918impl AuthLoginSettings {
39403919 /// Resolve the [`AuthLoginSettings`] from the CLI and filesystem configuration.
3941- pub ( crate ) fn resolve (
3942- args : AuthLoginArgs ,
3943- global_args : & GlobalArgs ,
3944- filesystem : Option < & FilesystemOptions > ,
3945- environment : & EnvironmentOptions ,
3946- ) -> Self {
3920+ pub ( crate ) fn resolve ( args : AuthLoginArgs ) -> Self {
39473921 Self {
39483922 service : args. service ,
39493923 username : args. username ,
39503924 password : args. password ,
39513925 token : args. token ,
3952- network_settings : NetworkSettings :: resolve ( global_args, filesystem, environment) ,
39533926 }
39543927 }
39553928}
0 commit comments