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.​Extensions.​DependencyInjection.​IdentityServerServiceCollectionExtensions

Assembly: Duende.IdentityServer

Inheritance: object → IdentityServerServiceCollectionExtensions

DI extension methods for adding IdentityServer

Methods

public static IIdentityServerBuilder
AddIdentityServerBuilder​(IServiceCollection services)
Creates a builder.
services The services.
public static IIdentityServerBuilder
AddIdentityServer​(IServiceCollection services)
Adds IdentityServer.
services The services.
public static IIdentityServerBuilder
AddIdentityServer​(IServiceCollection services, System.​Action<​Duende.​IdentityServer.​Configuration.​IdentityServerOptions> setupAction)
Adds IdentityServer.
services The services.
setupAction The setup action.
public static IIdentityServerBuilder
AddIdentityServer​(IServiceCollection services, Configuration.​IConfiguration configuration)
Adds the IdentityServer.
services The services.
configuration The configuration.
public static IServiceCollection
AddOidcStateDataFormatterCache​(IServiceCollection services, string[] schemes)
Configures the OpenIdConnect handlers to persist the state parameter into the server-side IDistributedCache.
services The services.
schemes The schemes to configure. If none provided, then all OpenIdConnect schemes will use the cache.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object