Table of Contents

Interface IOidcConfig

Namespace
Tenduke.Core.Config
Assembly
Tenduke.Core.dll

Configuration settings associated with or required to access the OpenID Connect provider.

public interface IOidcConfig : IConfig
Inherited Members
Extension Methods

Properties

AuthRedirectPath

Gets the path to for PKCE Flow Client success redirect.

string? AuthRedirectPath { get; }

Property Value

string

Remarks

For desktop clients (using system default browser), this path fragment will be appened to http://localhost using AuthRedirectPort if specified or otherwise a random ephemeral port.

AuthRedirectPort

Gets the local redirect port to listen on for PKCE Flow Client.

int AuthRedirectPort { get; }

Property Value

int

AuthRedirectTimeoutSeconds

Gets the the timeout, in seconds, for PKCE Flow login and redirect.

float AuthRedirectTimeoutSeconds { get; }

Property Value

float

AuthRedirectUri

Gets the URI for OAuth redirect_uri.

Uri? AuthRedirectUri { get; }

Property Value

Uri

AuthSuccessMessage

Gets the file name and path of the file containing response for successful login (see PKCE Flow Client).

string? AuthSuccessMessage { get; }

Property Value

string

EffectiveRedirectPath

Gets the effective redirect path for the PKCE Flow Client.

string? EffectiveRedirectPath { get; }

Property Value

string

EffectiveRedirectPort

Gets the effective redirect port for the PKCE Flow Client.

int EffectiveRedirectPort { get; }

Property Value

int

EffectiveRedirectUri

Gets the effective redirect URI for the PKCE Flow Client.

Uri? EffectiveRedirectUri { get; }

Property Value

Uri

IdpJwksUri

Gets the URL path to read public key used to verify JWTs received from Authorization Server authenticating OpenID Connect session.

Uri? IdpJwksUri { get; }

Property Value

Uri

IdpOAuthAuthorizationUrl

Gets the endpoint for Authorization Request in Authorization Code or Implicit Grant flows.

Uri? IdpOAuthAuthorizationUrl { get; }

Property Value

Uri

IdpOAuthClientId

Gets the application credentials for OAuth/OpenID Connect.

string? IdpOAuthClientId { get; }

Property Value

string

IdpOAuthClientSecret

Gets the application credentials for OAuth/OpenID Connect. Required for some OAuth flows or for some Identity Providers.

string? IdpOAuthClientSecret { get; }

Property Value

string

IdpOAuthDeviceCodeUrl

Gets the endpoint for Device Authorization Request in Device Authorization Grant flow.

Uri? IdpOAuthDeviceCodeUrl { get; }

Property Value

Uri

IdpOAuthScope

Gets the scopes to include in the Access and ID tokens requested via OpenID Connect.

string? IdpOAuthScope { get; }

Property Value

string

IdpOAuthTokenUrl

Gets the endpoint for Access Token Request or Device Access Token Request.

Uri? IdpOAuthTokenUrl { get; }

Property Value

Uri

IdpOidcDiscoveryUrl

Gets the URL used to retrieve the details of the OpenID Connect endpoints for the identity provider.

Uri? IdpOidcDiscoveryUrl { get; }

Property Value

Uri

IdpUserinfoUrl

Gets the endpoint handling the UserInfo Request.

Uri? IdpUserinfoUrl { get; }

Property Value

Uri

OidcHttpClientName

Gets the name of the HttpClient to use for requests to the OpenID Connect Provider.

string OidcHttpClientName { get; }

Property Value

string