Class LoginCommand
Inheritance
object
LoginCommand
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class LoginCommand : IConsoleCommand, ITransientDependency
Constructors
LoginCommand(AuthService, ICancellationTokenProvider, IRemoteServiceExceptionHandler, CliHttpClientFactory)
Declaration
public LoginCommand(AuthService authService, ICancellationTokenProvider cancellationTokenProvider, IRemoteServiceExceptionHandler remoteServiceExceptionHandler, CliHttpClientFactory cliHttpClientFactory)
Parameters
Fields
Name
Declaration
public const string Name = "login"
Field Value
Properties
AuthService
Declaration
protected AuthService AuthService { get; }
Property Value
CancellationTokenProvider
Declaration
public ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
Logger
Declaration
public ILogger<LoginCommand> Logger { get; set; }
Property Value
| Type |
Description |
| Microsoft.Extensions.Logging.ILogger<TCategoryName><LoginCommand> |
|
RemoteServiceExceptionHandler
Declaration
public IRemoteServiceExceptionHandler RemoteServiceExceptionHandler { get; }
Property Value
Methods
ExecuteAsync(CommandLineArgs)
Declaration
public Task ExecuteAsync(CommandLineArgs commandLineArgs)
Parameters
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
GetShortDescription()
Declaration
public string GetShortDescription()
Returns
GetUsageInfo()
Declaration
public string GetUsageInfo()
Returns
Implements
Extension Methods