Class OidcProvider
- Namespace
- Duende.IdentityServer.Models
- Assembly
- Duende.IdentityServer.Storage.dll
Models an OIDC identity provider
public class OidcProvider : IdentityProvider
- Inheritance
-
OidcProvider
- Inherited Members
Constructors
OidcProvider()
Ctor
public OidcProvider()
OidcProvider(IdentityProvider)
Ctor
public OidcProvider(IdentityProvider other)
Parameters
other
IdentityProvider
Properties
Authority
The base address of the OIDC provider.
public string? Authority { get; set; }
Property Value
ClientId
The client id.
public string? ClientId { get; set; }
Property Value
ClientSecret
The 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.
public string? ClientSecret { get; set; }
Property Value
GetClaimsFromUserInfoEndpoint
Indicates if userinfo endpoint is to be contacted. Defaults to true.
public bool GetClaimsFromUserInfoEndpoint { get; set; }
Property Value
ResponseType
The response type. Defaults to "id_token".
public string ResponseType { get; set; }
Property Value
Scope
Space separated list of scope values.
public string Scope { get; set; }
Property Value
Scopes
Parses the scope into a collection.
public IEnumerable<string> Scopes { get; }
Property Value
UsePkce
Indicates if PKCE should be used. Defaults to true.
public bool UsePkce { get; set; }