Class AuthService
Inheritance
System.Object
AuthService
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class AuthService : ITransientDependency
Constructors
AuthService(IIdentityModelAuthenticationService)
Declaration
public AuthService(IIdentityModelAuthenticationService authenticationService)
Parameters
Properties
AuthenticationService
Declaration
protected IIdentityModelAuthenticationService AuthenticationService { get; }
Property Value
Methods
IsLoggedIn()
Declaration
public static bool IsLoggedIn()
Returns
Type |
Description |
System.Boolean |
|
LoginAsync(String, String, String)
Declaration
public Task LoginAsync(string userName, string password, string organizationName = null)
Parameters
Type |
Name |
Description |
System.String |
userName |
|
System.String |
password |
|
System.String |
organizationName |
|
Returns
LogoutAsync()
Declaration
public Task LogoutAsync()
Returns
Extension Methods