Table of Contents

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

string

ClientId

The client id.

public string? ClientId { get; set; }

Property Value

string

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

string

GetClaimsFromUserInfoEndpoint

Indicates if userinfo endpoint is to be contacted. Defaults to true.

public bool GetClaimsFromUserInfoEndpoint { get; set; }

Property Value

bool

ResponseType

The response type. Defaults to "id_token".

public string ResponseType { get; set; }

Property Value

string

Scope

Space separated list of scope values.

public string Scope { get; set; }

Property Value

string

Scopes

Parses the scope into a collection.

public IEnumerable<string> Scopes { get; }

Property Value

IEnumerable<string>

UsePkce

Indicates if PKCE should be used. Defaults to true.

public bool UsePkce { get; set; }

Property Value

bool