Class FakeAuthenticationMiddleware
Inheritance
object
FakeAuthenticationMiddleware
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
Assembly: Volo.Abp.AspNetCore.Mvc.Tests.dll
Syntax
public class FakeAuthenticationMiddleware : IMiddleware, ITransientDependency
Constructors
FakeAuthenticationMiddleware(FakeUserClaims)
Declaration
public FakeAuthenticationMiddleware(FakeUserClaims fakeUserClaims)
Parameters
| Type | Name | Description |
|---|---|---|
| FakeUserClaims | fakeUserClaims |
Methods
InvokeAsync(HttpContext, RequestDelegate)
Declaration
public Task InvokeAsync(HttpContext context, RequestDelegate next)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.AspNetCore.Http.HttpContext | context | |
| Microsoft.AspNetCore.Http.RequestDelegate | next |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Implements
Microsoft.AspNetCore.Http.IMiddleware