Show / Hide Table of Contents

Class AuthService

Inheritance
System.Object
AuthService
Namespace: Volo.Abp.Cli.Auth
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class AuthService : ITransientDependency

Constructors

AuthService(IIdentityModelAuthenticationService)

Declaration
public AuthService(IIdentityModelAuthenticationService authenticationService)
Parameters
Type Name Description
IIdentityModelAuthenticationService authenticationService

Properties

AuthenticationService

Declaration
protected IIdentityModelAuthenticationService AuthenticationService { get; }
Property Value
Type Description
IIdentityModelAuthenticationService

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
Type Description
Task

LogoutAsync()

Declaration
public Task LogoutAsync()
Returns
Type Description
Task

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft