Class AbpAuthorizationExceptionTestController_Tests
Inheritance
object
AbpAuthorizationExceptionTestController_Tests
Implements
System.IDisposable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Mvc.ExceptionHandling
Assembly: Volo.Abp.AspNetCore.Mvc.Tests.dll
Syntax
public class AbpAuthorizationExceptionTestController_Tests : AspNetCoreMvcTestBase, IDisposable
Constructors
AbpAuthorizationExceptionTestController_Tests()
Declaration
public AbpAuthorizationExceptionTestController_Tests()
Fields
FakeExceptionSubscriber
Declaration
protected IExceptionSubscriber FakeExceptionSubscriber
Field Value
| Type | Description |
|---|---|
| IExceptionSubscriber |
FakeRequiredService
Declaration
protected FakeUserClaims FakeRequiredService
Field Value
| Type | Description |
|---|---|
| FakeUserClaims |
Methods
ConfigureServices(HostBuilderContext, IServiceCollection)
Declaration
protected override void ConfigureServices(HostBuilderContext context, IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.Hosting.HostBuilderContext | context | |
| Microsoft.Extensions.DependencyInjection.IServiceCollection | services |
Overrides
Volo.Abp.AspNetCore.TestBase.AbpAspNetCoreIntegratedTestBase<Volo.Abp.AspNetCore.Mvc.Startup>.ConfigureServices(Microsoft.Extensions.Hosting.HostBuilderContext, Microsoft.Extensions.DependencyInjection.IServiceCollection)
Should_Handle_By_Cookie_AuthenticationScheme_For_AbpAuthorizationException()
Declaration
public virtual Task Should_Handle_By_Cookie_AuthenticationScheme_For_AbpAuthorizationException()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
System.IDisposable