Identity Provider
Duende.IdentityServer.Models.OidcProvider
Section titled “Duende.IdentityServer.Models.OidcProvider”The OidcProvider models an external OpenID Connect provider for use in
the dynamic providers feature.
Its properties map to the Open ID Connect options class from ASP.NET Core, and those properties include:
-
EnabledSpecifies if provider is enabled. Defaults to
true. -
SchemeScheme name for the provider.
-
DisplayNameDisplay name for the provider.
-
TypeProtocol type of the provider. Defaults to
"oidc"for theOidcProvider. -
AuthorityThe base address of the OIDC provider.
-
ResponseTypeThe response type. Defaults to
"id_token". -
ClientIdThe client id.
-
ClientSecretThe client secret. By default, this is the plaintext client secret and great consideration should be taken if this value is to be stored as plaintext in the store. It is possible to store this in a protected way and then unprotect when loading from the store either by implementing a custom
IIdentityProviderStoreor registering a customIConfigureNamedOptions<OpenIdConnectOptions>. -
ScopeSpace separated list of scope values.
-
GetClaimsFromUserInfoEndpointIndicates if userinfo endpoint is to be contacted. Defaults to true.
-
UsePkceIndicates if PKCE should be used. Defaults to true.
Duende.IdentityServer.Models.IdentityProviderName
Section titled “Duende.IdentityServer.Models.IdentityProviderName”The IdentityProviderName models the display name of an identity provider.
-
EnabledSpecifies if provider is enabled. Defaults to
true. -
SchemeScheme name for the provider.
-
DisplayNameDisplay name for the provider.
Duende.IdentityServer.Models.IdentityProvider
Section titled “Duende.IdentityServer.Models.IdentityProvider”The IdentityProvider is a base class to model arbitrary identity providers, which OidcProvider derives from.
This leaves open the possibility for extensions to the dynamic provider feature to support other protocol types (as
distinguished by the Type property).