Show / Hide Table of Contents

Class Authorization_Tests

Inheritance
object
AbpTestBaseWithServiceProvider
AbpIntegratedTest<AbpAuthorizationTestModule>
AuthorizationTestBase
Authorization_Tests
Implements
IDisposable
Inherited Members
AuthorizationTestBase.SetAbpApplicationCreationOptions(AbpApplicationCreationOptions)
AuthorizationTestBase.AfterAddApplication(IServiceCollection)
AbpIntegratedTest<AbpAuthorizationTestModule>.CreateServiceCollection()
AbpIntegratedTest<AbpAuthorizationTestModule>.BeforeAddApplication(IServiceCollection)
AbpIntegratedTest<AbpAuthorizationTestModule>.CreateServiceProvider(IServiceCollection)
AbpIntegratedTest<AbpAuthorizationTestModule>.Dispose()
AbpIntegratedTest<AbpAuthorizationTestModule>.Application
AbpIntegratedTest<AbpAuthorizationTestModule>.RootServiceProvider
AbpIntegratedTest<AbpAuthorizationTestModule>.TestServiceScope
AbpTestBaseWithServiceProvider.GetService<T>()
AbpTestBaseWithServiceProvider.GetRequiredService<T>()
AbpTestBaseWithServiceProvider.GetKeyedServices<T>(object)
AbpTestBaseWithServiceProvider.GetRequiredKeyedService<T>(object)
AbpTestBaseWithServiceProvider.ServiceProvider
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Authorization
Assembly: Volo.Abp.Authorization.Tests.dll
Syntax
public class Authorization_Tests : AuthorizationTestBase, IDisposable

Constructors

Authorization_Tests()

Declaration
public Authorization_Tests()

Methods

Should_Allow_To_Call_Anonymous_Method()

Declaration
public Task Should_Allow_To_Call_Anonymous_Method()
Returns
Type Description
Task

Should_Allow_To_Call_Anonymous_Method_Async()

Declaration
public Task Should_Allow_To_Call_Anonymous_Method_Async()
Returns
Type Description
Task

Should_Allow_To_Call_Anonymous_Method_For_Anonymous_User()

Declaration
public Task Should_Allow_To_Call_Anonymous_Method_For_Anonymous_User()
Returns
Type Description
Task

Should_Allow_To_Call_Method_If_Has_No_Role_ProtectedByRole_Async()

Declaration
public Task Should_Allow_To_Call_Method_If_Has_No_Role_ProtectedByRole_Async()
Returns
Type Description
Task

Should_Not_Allow_To_Call_Authorized_Method_For_Anonymous_User()

Declaration
public Task Should_Not_Allow_To_Call_Authorized_Method_For_Anonymous_User()
Returns
Type Description
Task

Should_Not_Allow_To_Call_Method_If_Has_No_Permission_ProtectedByClass()

Declaration
public Task Should_Not_Allow_To_Call_Method_If_Has_No_Permission_ProtectedByClass()
Returns
Type Description
Task

Should_Not_Allow_To_Call_Method_If_Has_No_Permission_ProtectedByClass_Async()

Declaration
public Task Should_Not_Allow_To_Call_Method_If_Has_No_Permission_ProtectedByClass_Async()
Returns
Type Description
Task

Should_Not_Allow_To_Call_Method_If_Has_No_Role_ProtectedByRole_Async()

Declaration
public Task Should_Not_Allow_To_Call_Method_If_Has_No_Role_ProtectedByRole_Async()
Returns
Type Description
Task

Should_Not_Allow_To_Call_Method_If_Has_No_Role_ProtectedByScheme_Async()

Declaration
public Task Should_Not_Allow_To_Call_Method_If_Has_No_Role_ProtectedByScheme_Async()
Returns
Type Description
Task

Should_Permission_Definition_GetGroup()

Declaration
public Task Should_Permission_Definition_GetGroup()
Returns
Type Description
Task

Implements

IDisposable

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>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform