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.​IdentityServerApplicationBuilderExtensions
Assembly: Duende.IdentityServer
Inheritance: object → IdentityServerApplicationBuilderExtensions
Pipeline extension methods for adding IdentityServer
Methods
public static
IApplicationBuilder
UseIdentityServer​(IApplicationBuilder app,
IdentityServerMiddlewareOptions? options = null)
Adds IdentityServer to the ASP.NET Core request pipeline. This registers the middleware components
required to handle all IdentityServer protocol endpoints (authorize, token, discovery, userinfo, etc.),
validates the IdentityServer configuration and license at startup, and sets up CORS, mutual TLS,
and dynamic external provider authentication.
Returns The <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> so that additional middleware can be chained.
app
The <see cref="T:Microsoft.AspNetCore.Builder.IApplicationBuilder" /> to add IdentityServer middleware to.
options
Optional <see cref="T:Microsoft.AspNetCore.Builder.IdentityServerMiddlewareOptions" /> to customize how the
ASP.NET Core authentication middleware is inserted into the pipeline. If not provided, the default
behavior calls <c>UseAuthentication()</c> automatically.
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