Class LogoutCommand
Inheritance
object
LogoutCommand
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 LogoutCommand : IConsoleCommand, ITransientDependency
Constructors
LogoutCommand(AuthService)
Declaration
public LogoutCommand(AuthService authService)
Parameters
| Type | Name | Description |
|---|---|---|
| AuthService | authService |
Fields
Name
Declaration
public const string Name = "logout"
Field Value
| Type | Description |
|---|---|
| string |
Properties
AuthService
Declaration
protected AuthService AuthService { get; }
Property Value
| Type | Description |
|---|---|
| AuthService |
Logger
Declaration
public ILogger<LogoutCommand> Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger<TCategoryName><LogoutCommand> |
Methods
ExecuteAsync(CommandLineArgs)
Declaration
public Task ExecuteAsync(CommandLineArgs commandLineArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandLineArgs | commandLineArgs |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
GetShortDescription()
Declaration
public string GetShortDescription()
Returns
| Type | Description |
|---|---|
| string |
GetUsageInfo()
Declaration
public string GetUsageInfo()
Returns
| Type | Description |
|---|---|
| string |