Show / Hide Table of Contents

Class AuthTestController_Tests

Inheritance
object
AbpTestBaseWithServiceProvider
AbpAspNetCoreIntegratedTestBase<Startup>
AbpAspNetCoreTestBase<Startup>
AspNetCoreMvcTestBase
AuthTestController_Tests
Implements
System.IDisposable
Inherited Members
AspNetCoreMvcTestBase.CreateHostBuilder()
AbpAspNetCoreTestBase<Startup>.GetResponseAsObjectAsync<T>(string, HttpStatusCode)
AbpAspNetCoreTestBase<Startup>.GetResponseAsStringAsync(string, HttpStatusCode)
AbpAspNetCoreTestBase<Startup>.GetResponseAsync(string, HttpStatusCode, bool)
AbpAspNetCoreIntegratedTestBase<Startup>.ConfigureServices(HostBuilderContext, IServiceCollection)
AbpAspNetCoreIntegratedTestBase<Startup>.GetUrl<TController>()
AbpAspNetCoreIntegratedTestBase<Startup>.GetUrl<TController>(string)
AbpAspNetCoreIntegratedTestBase<Startup>.GetUrl<TController>(string, object)
AbpAspNetCoreIntegratedTestBase<Startup>.Dispose()
AbpAspNetCoreIntegratedTestBase<Startup>.Server
AbpAspNetCoreIntegratedTestBase<Startup>.Client
AbpTestBaseWithServiceProvider.GetService<T>()
AbpTestBaseWithServiceProvider.GetRequiredService<T>()
AbpTestBaseWithServiceProvider.ServiceProvider
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.Authorization
Assembly: Volo.Abp.AspNetCore.Mvc.Tests.dll
Syntax
public class AuthTestController_Tests : AspNetCoreMvcTestBase, IDisposable

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
System.Threading.Tasks.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
System.Threading.Tasks.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
System.Threading.Tasks.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
System.Threading.Tasks.Task

Should_Authorize_For_Defined_And_Allowed_Permission()

Declaration
public Task Should_Authorize_For_Defined_And_Allowed_Permission()
Returns
Type Description
System.Threading.Tasks.Task

Should_Call_Anonymous_Method_Without_Authentication()

Declaration
public Task Should_Call_Anonymous_Method_Without_Authentication()
Returns
Type Description
System.Threading.Tasks.Task

Should_Call_Simple_Authorized_Method_With_Authenticated_User()

Declaration
public Task Should_Call_Simple_Authorized_Method_With_Authenticated_User()
Returns
Type Description
System.Threading.Tasks.Task

Implements

System.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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft