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.​IdentityServerBuilderExtensionsInMemory

Assembly: Duende.IdentityServer

Inheritance: object → IdentityServerBuilderExtensionsInMemory

Builder extension methods for registering in-memory services

Methods

public static IIdentityServerBuilder
AddInMemoryCaching​(IIdentityServerBuilder builder)
Adds the in memory caching.
builder The builder.
public static IIdentityServerBuilder
AddInMemoryIdentityResources​(IIdentityServerBuilder builder, System.​Collections.​Generic.​IEnumerable<​Duende.​IdentityServer.​Models.​IdentityResource> identityResources)
Adds the in memory identity resources.
builder The builder.
identityResources The identity resources.
public static IIdentityServerBuilder
AddInMemoryIdentityResources​(IIdentityServerBuilder builder, Configuration.​IConfigurationSection section)
Adds the in memory identity resources.
builder The builder.
section The configuration section containing the configuration data.
public static IIdentityServerBuilder
AddInMemoryApiResources​(IIdentityServerBuilder builder, System.​Collections.​Generic.​IEnumerable<​Duende.​IdentityServer.​Models.​ApiResource> apiResources)
Adds the in memory API resources.
builder The builder.
apiResources The API resources.
public static IIdentityServerBuilder
AddInMemoryApiResources​(IIdentityServerBuilder builder, Configuration.​IConfigurationSection section)
Adds the in memory API resources.
builder The builder.
section The configuration section containing the configuration data.
public static IIdentityServerBuilder
AddInMemoryApiScopes​(IIdentityServerBuilder builder, System.​Collections.​Generic.​IEnumerable<​Duende.​IdentityServer.​Models.​ApiScope> apiScopes)
Adds the in memory API scopes.
builder The builder.
apiScopes The API scopes.
public static IIdentityServerBuilder
AddInMemoryApiScopes​(IIdentityServerBuilder builder, Configuration.​IConfigurationSection section)
Adds the in memory scopes.
builder The builder.
section The configuration section containing the configuration data.
public static IIdentityServerBuilder
AddInMemoryClients​(IIdentityServerBuilder builder, System.​Collections.​Generic.​ICollection<​Duende.​IdentityServer.​Models.​Client> clients)
Adds in memory clients using an ICollection. This allows Duende.Configuration to use in memory clients for demos and testing.
builder The builder.
clients The clients.
public static IIdentityServerBuilder
AddInMemoryClients​(IIdentityServerBuilder builder, System.​Collections.​Generic.​IEnumerable<​Duende.​IdentityServer.​Models.​Client> clients)
Adds the in memory clients.
builder The builder.
clients The clients.
public static IIdentityServerBuilder
AddInMemoryClients​(IIdentityServerBuilder builder, Configuration.​IConfigurationSection section)
Adds the in memory clients.
builder The builder.
section The configuration section containing the configuration data.
public static IIdentityServerBuilder
AddInMemoryPersistedGrants​(IIdentityServerBuilder builder)
Adds the in memory stores.
builder The builder.
public static IIdentityServerBuilder
AddInMemoryPushedAuthorizationRequests​(IIdentityServerBuilder builder)
Adds the in memory pushed authorization request store.
builder The builder.
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