IdentityServer builder Interface

public interface IIdentityServerBuilder

Properties

Services Gets the services.

Extension Methods

AddAppAuthRedirectUriValidator(IIdentityServerBuilder) Adds a an "AppAuth" (OAuth 2.0 for Native Apps) compliant redirect URI validator (does strict validation but also allows http://127.0.0.1 with random port)
AddAuthorizationParametersMessageStore<T>(IIdentityServerBuilder) Adds a custom authorization request parameter store.
AddAuthorizeInteractionResponseGenerator<T>(IIdentityServerBuilder) Adds the authorize interaction response generator.
AddBackChannelLogoutHttpClient(IIdentityServerBuilder, Action<HttpClient>) Adds configuration for the HttpClient used for back-channel logout notifications.
AddBackChannelLogoutService<T>(IIdentityServerBuilder) Adds a custom back-channel logout service.
AddClientConfigurationValidator<T>(IIdentityServerBuilder) Adds a client configuration validator.
AddClientStore<T>(IIdentityServerBuilder) Adds a client store.
AddClientStoreCache<T>(IIdentityServerBuilder) Adds the client store cache.
AddCookieAuthentication(IIdentityServerBuilder) Adds the default cookie handlers and corresponding configuration
AddCoreServices(IIdentityServerBuilder) Adds the core services.
AddCorsPolicyCache<T>(IIdentityServerBuilder) Adds a CORS policy service cache.
AddCorsPolicyService<T>(IIdentityServerBuilder) Adds a CORS policy service.
AddCustomAuthorizeRequestValidator<T>(IIdentityServerBuilder) Adds the custom authorize request validator.
AddCustomTokenRequestValidator<T>(IIdentityServerBuilder) Adds the custom authorize request validator.
AddDefaultEndpoints(IIdentityServerBuilder) Adds the default endpoints.
AddDefaultSecretParsers(IIdentityServerBuilder) Adds the default secret parsers.
AddDefaultSecretValidators(IIdentityServerBuilder) Adds the default secret validators.
AddDeveloperSigningCredential(IIdentityServerBuilder, bool, string, RsaSigningAlgorithm) Sets the temporary signing credential.
AddDeviceFlowStore<T>(IIdentityServerBuilder) Adds a device flow store.
AddEndpoint<T>(IIdentityServerBuilder, string, PathString) Adds the endpoint.
AddExtensionGrantValidator<T>(IIdentityServerBuilder) Adds the extension grant validator.
AddInMemoryApiResources(IIdentityServerBuilder, IEnumerable<ApiResource>) Adds the in memory API resources.
AddInMemoryApiResources(IIdentityServerBuilder, IConfigurationSection) Adds the in memory API resources.
AddInMemoryApiScopes(IIdentityServerBuilder, IEnumerable<ApiScope>) Adds the in memory API scopes.
AddInMemoryApiScopes(IIdentityServerBuilder, IConfigurationSection) Adds the in memory scopes.
AddInMemoryCaching(IIdentityServerBuilder) Adds the in memory caching.
AddInMemoryClients(IIdentityServerBuilder, IEnumerable<Client>) Adds the in memory clients.
AddInMemoryClients(IIdentityServerBuilder, IConfigurationSection) Adds the in memory clients.
AddInMemoryIdentityResources(IIdentityServerBuilder, IEnumerable<IdentityResource>) Adds the in memory identity resources.
AddInMemoryIdentityResources(IIdentityServerBuilder, IConfigurationSection) Adds the in memory identity resources.
AddInMemoryPersistedGrants(IIdentityServerBuilder) Adds the in memory stores.
AddJwtBearerClientAuthentication(IIdentityServerBuilder) Adds support for client authentication using JWT bearer assertions.
AddJwtRequestUriHttpClient(IIdentityServerBuilder, Action<HttpClient>) Adds configuration for the HttpClient used for JWT request_uri requests.
AddMutualTlsSecretValidators(IIdentityServerBuilder) Adds the X509 secret validators for mutual TLS.
AddPersistedGrantStore<T>(IIdentityServerBuilder) Adds a persisted grant store.
AddPluggableServices(IIdentityServerBuilder) Adds the pluggable services.
AddProfileService<T>(IIdentityServerBuilder) Adds the profile service.
AddRedirectUriValidator<T>(IIdentityServerBuilder) Adds a redirect URI validator.
AddRequiredPlatformServices(IIdentityServerBuilder) Adds the required platform services.
AddResourceOwnerValidator<T>(IIdentityServerBuilder) Adds the resource owner validator.
AddResourceStore<T>(IIdentityServerBuilder) Adds a resource store.
AddResourceStoreCache<T>(IIdentityServerBuilder) Adds the client store cache.
AddResourceValidator<T>(IIdentityServerBuilder) Adds a resource validator.
AddResponseGenerators(IIdentityServerBuilder) Adds the response generators.
AddScopeParser<T>(IIdentityServerBuilder) Adds a scope parser.
AddSecretParser<T>(IIdentityServerBuilder) Adds the secret parser.
AddSecretValidator<T>(IIdentityServerBuilder) Adds the secret validator.
AddSigningCredential(IIdentityServerBuilder, SigningCredentials) Sets the signing credential.
AddSigningCredential(IIdentityServerBuilder, X509Certificate2, string) Sets the signing credential.
AddSigningCredential(IIdentityServerBuilder, string, StoreLocation, NameType, string) Sets the signing credential.
AddSigningCredential(IIdentityServerBuilder, SecurityKey, string) Sets the signing credential.
AddSigningCredential(IIdentityServerBuilder, RsaSecurityKey, RsaSigningAlgorithm) Sets an RSA-based signing credential.
AddSigningCredential(IIdentityServerBuilder, ECDsaSecurityKey, ECDsaSigningAlgorithm) Sets an ECDsa-based signing credential.
AddTestUsers(IIdentityServerBuilder, List<TestUser>) Adds test users.
AddUserSession<T>(IIdentityServerBuilder) Adds a custom user session.
AddValidationKey(IIdentityServerBuilder, SecurityKeyInfo) Adds the validation keys.
AddValidationKey(IIdentityServerBuilder, RsaSecurityKey, RsaSigningAlgorithm) Adds an RSA-based validation key.
AddValidationKey(IIdentityServerBuilder, ECDsaSecurityKey, ECDsaSigningAlgorithm) Adds an ECDSA-based validation key.
AddValidationKey(IIdentityServerBuilder, X509Certificate2, string) Adds the validation key.
AddValidationKey(IIdentityServerBuilder, string, StoreLocation, NameType, string) Adds the validation key from the certificate store.
AddValidators(IIdentityServerBuilder) Adds the validators.