Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Builder.​AuthAppBuilderExtensions
Assembly: Microsoft.AspNetCore.Authentication
Inheritance: object → AuthAppBuilderExtensions
Extension methods to add authentication capabilities to an HTTP application pipeline.
Methods
public static
IApplicationBuilder
UseAuthentication​(IApplicationBuilder app)
Adds the <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationMiddleware" /> to the specified <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> , which enables authentication capabilities.
Returns A reference to this instance after the operation has completed.
app
The <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> to add the middleware to.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object