Berkan Sasmaz
3 years ago
No known key found for this signature in database
GPG Key ID: 4E387A3A3BCC339B
2 changed files with
6 additions and
4 deletions
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Auth/LoginInfo.cs
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/LoginInfoCommand.cs
|
|
|
@ -1,8 +1,11 @@ |
|
|
|
|
|
|
|
using System; |
|
|
|
|
|
|
|
namespace Volo.Abp.Cli.Auth; |
|
|
|
|
|
|
|
public class LoginInfo |
|
|
|
{ |
|
|
|
public Guid? Id { get; set; } |
|
|
|
|
|
|
|
public string Name { get; set; } |
|
|
|
|
|
|
|
public string Surname { get; set; } |
|
|
|
|
|
|
|
@ -1,5 +1,4 @@ |
|
|
|
using System; |
|
|
|
using Microsoft.Extensions.Logging; |
|
|
|
using Microsoft.Extensions.Logging; |
|
|
|
using Microsoft.Extensions.Logging.Abstractions; |
|
|
|
using System.Text; |
|
|
|
using System.Threading.Tasks; |
|
|
|
@ -41,7 +40,7 @@ public class LoginInfoCommand : IConsoleCommand, ITransientDependency |
|
|
|
|
|
|
|
var sb = new StringBuilder(); |
|
|
|
sb.AppendLine(""); |
|
|
|
sb.AppendLine($"Login info:"); |
|
|
|
sb.AppendLine("Login info:"); |
|
|
|
sb.AppendLine($"Name: {loginInfo.Name}"); |
|
|
|
sb.AppendLine($"Surname: {loginInfo.Surname}"); |
|
|
|
sb.AppendLine($"Username: {loginInfo.Username}"); |
|
|
|
|