Show / Hide Table of Contents

Class LoginCommand

Inheritance
object
LoginCommand
Implements
IConsoleCommand
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.Commands
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class LoginCommand : IConsoleCommand, ITransientDependency

Constructors

LoginCommand(AuthService, ICancellationTokenProvider, IRemoteServiceExceptionHandler)

Declaration
public LoginCommand(AuthService authService, ICancellationTokenProvider cancellationTokenProvider, IRemoteServiceExceptionHandler remoteServiceExceptionHandler)
Parameters
Type Name Description
AuthService authService
ICancellationTokenProvider cancellationTokenProvider
IRemoteServiceExceptionHandler remoteServiceExceptionHandler

Fields

Name

Declaration
public const string Name = "login"
Field Value
Type Description
string

Properties

AuthService

Declaration
protected AuthService AuthService { get; }
Property Value
Type Description
AuthService

CancellationTokenProvider

Declaration
public ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
Type Description
ICancellationTokenProvider

Logger

Declaration
public ILogger<LoginCommand> Logger { get; set; }
Property Value
Type Description
ILogger<LoginCommand>

RemoteServiceExceptionHandler

Declaration
public IRemoteServiceExceptionHandler RemoteServiceExceptionHandler { get; }
Property Value
Type Description
IRemoteServiceExceptionHandler

Methods

ExecuteAsync(CommandLineArgs)

Declaration
public Task ExecuteAsync(CommandLineArgs commandLineArgs)
Parameters
Type Name Description
CommandLineArgs commandLineArgs
Returns
Type Description
Task

GetShortDescription()

Declaration
public string GetShortDescription()
Returns
Type Description
string

GetUsageInfo()

Declaration
public string GetUsageInfo()
Returns
Type Description
string

Implements

IConsoleCommand
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by Volosoft