Show / Hide Table of Contents

Class AuthTestController_Tests

Inheritance
object
AbpWebApplicationFactoryIntegratedTest<Program>
AbpAspNetCoreTestBase<Program>
AspNetCoreMvcTestBase
AuthTestController_Tests
Inherited Members
AbpAspNetCoreTestBase<Program>.GetResponseAsObjectAsync<T>(string, HttpStatusCode)
AbpAspNetCoreTestBase<Program>.GetResponseAsStringAsync(string, HttpStatusCode)
AbpAspNetCoreTestBase<Program>.GetResponseAsync(string, HttpStatusCode, bool)
AbpWebApplicationFactoryIntegratedTest<Program>.CreateHost(IHostBuilder)
AbpWebApplicationFactoryIntegratedTest<Program>.GetService<T>()
AbpWebApplicationFactoryIntegratedTest<Program>.GetRequiredService<T>()
AbpWebApplicationFactoryIntegratedTest<Program>.GetKeyedServices<T>(object)
AbpWebApplicationFactoryIntegratedTest<Program>.GetRequiredKeyedService<T>(object)
AbpWebApplicationFactoryIntegratedTest<Program>.ConfigureServices(IServiceCollection)
AbpWebApplicationFactoryIntegratedTest<Program>.GetUrl<TController>()
AbpWebApplicationFactoryIntegratedTest<Program>.GetUrl<TController>(string)
AbpWebApplicationFactoryIntegratedTest<Program>.GetUrl<TController>(string, object)
AbpWebApplicationFactoryIntegratedTest<Program>.Client
AbpWebApplicationFactoryIntegratedTest<Program>.ServiceProvider
Namespace: Volo.Abp.AspNetCore.Mvc.Authorization
Assembly: Volo.Abp.AspNetCore.Mvc.Tests.dll
Syntax
public class AuthTestController_Tests : AspNetCoreMvcTestBase

Constructors

AuthTestController_Tests()

Declaration
public AuthTestController_Tests()

Methods

Custom_And_Policy_Should_Not_Work_When_Permissions_Not_Granted()

Declaration
public Task Custom_And_Policy_Should_Not_Work_When_Permissions_Not_Granted()
Returns
Type Description
Task

Custom_Claim_Policy_Should_Not_Work_With_Wrong_Claim_Value()

Declaration
public Task Custom_Claim_Policy_Should_Not_Work_With_Wrong_Claim_Value()
Returns
Type Description
Task

Custom_Claim_Policy_Should_Work_With_Right_Claim_Provided()

Declaration
public Task Custom_Claim_Policy_Should_Work_With_Right_Claim_Provided()
Returns
Type Description
Task

Custom_Or_Policy_Should_Work_When_Permissions_Are_Granted()

Declaration
public Task Custom_Or_Policy_Should_Work_When_Permissions_Are_Granted()
Returns
Type Description
Task

Should_Authorize_For_Defined_And_Allowed_Permission()

Declaration
public Task Should_Authorize_For_Defined_And_Allowed_Permission()
Returns
Type Description
Task

Should_Call_Anonymous_Method_Without_Authentication()

Declaration
public Task Should_Call_Anonymous_Method_Without_Authentication()
Returns
Type Description
Task

Should_Call_Simple_Authorized_Method_With_Authenticated_User()

Declaration
public Task Should_Call_Simple_Authorized_Method_With_Authenticated_User()
Returns
Type Description
Task

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