Skip to content

SAIF.NetCore.OIDC API reference

This page lists all public types exposed by SAIF.NetCore.OIDC. Each type links to its full API reference page.

Types

Type Kind Namespace Purpose
Constants Static class SAIF.NetCore.OIDC Environment-setting key names for section NetCore_OIDC.
RefreshTokenResult DTO SAIF.NetCore.OIDC.Contracts Deserialization target for the Okta token-refresh response.
HttpContextAuthenticateException Exception SAIF.NetCore.OIDC.Exceptions Thrown when cookie re-authentication fails during JWT claim synchronization.
JwtRefreshException Exception SAIF.NetCore.OIDC.Exceptions Thrown when a token-refresh call to Okta fails.
MissingDataProtectionCertificateException Exception SAIF.NetCore.OIDC.Exceptions Thrown when the configured data-protection certificate cannot be found on a non-developer machine.
ClaimsPrincipalExtensions Static extensions SAIF.NetCore.OIDC.Extensions Claim add/replace helper used when synchronizing JWT values into claims.
HttpContextExtensions Static extensions SAIF.NetCore.OIDC.Extensions Cookie rewriting and mixed-case URL detection helpers.
JwtClaimMiddleware Middleware (IMiddleware) SAIF.NetCore.OIDC.Middleware Synchronizes id_token/access_token claims and re-signs the auth cookie on every authenticated request.
LowerCaseUrlMiddleware Middleware (IMiddleware) SAIF.NetCore.OIDC.Middleware Permanently redirects mixed-case URLs to a lower-cased form.
RefreshJwtMiddleware Middleware (IMiddleware) SAIF.NetCore.OIDC.Middleware Redirects requests with an expired access token to the token-refresh application.
ConfigureCookieAuthenticationOptions Options configurator (IConfigureNamedOptions<CookieAuthenticationOptions>) SAIF.NetCore.OIDC.Options Configures the "Cookies" authentication scheme.
ConfigureOpenIdConnectOptions Options configurator (IConfigureNamedOptions<OpenIdConnectOptions>) SAIF.NetCore.OIDC.Options Configures the "OpenIdConnect" authentication scheme against Okta.
ClaimTransformationCacheService Service (IClaimTransformCacheService) SAIF.NetCore.OIDC.Services Tracks how recently a subject's roles were transformed.
DataProtectionCertService Service (IDataProtectionCertService) SAIF.NetCore.OIDC.Services Resolves the data-protection certificate from the local certificate store.
JwtAuthorizationCookieClaimService Service (IJwtAuthorizationCookieClaimService) SAIF.NetCore.OIDC.Services Rewrites the auth cookie and updates JWT token-value claims.
JwtRefreshService Service (IJwtRefreshService) SAIF.NetCore.OIDC.Services Exchanges a refresh token for a new access/ID token pair at Okta.
LoginRedirectService Service (ILoginRedirectService) SAIF.NetCore.OIDC.Services Builds and issues the HTTPS redirect to the login application.
OidcSettings Service (IOidcSettings) SAIF.NetCore.OIDC.Services Resolves every OIDC setting from Environment API section NetCore_OIDC.
RoleClaimService Service (IRoleClaimService) SAIF.NetCore.OIDC.Services Adds ClaimTypes.Role claims matching the configured role-claim identifier.
RoleClaimTransformer Claims transformation (IClaimsTransformation) SAIF.NetCore.OIDC.Services Entry point for role-claim transformation; not registered as IClaimsTransformation by any consumer in this repo.
UrlCaseService Service (IUrlCaseService) SAIF.NetCore.OIDC.Services Detects and redirects mixed-case URLs.

Sources

  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/SAIF.NetCore.OIDC.csproj
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Constants.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Contracts/RefreshTokenResult.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Exceptions/HttpContextAuthenticateException.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Exceptions/JwtRefreshException.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Exceptions/MissingDataProtectionCertificateException.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Extensions/ClaimsPrincipalExtensions.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Extensions/HttpContextExtensions.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Middleware/JwtClaimMiddleware.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Middleware/LowerCaseUrlMiddleware.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Middleware/RefreshJwtMiddleware.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Options/ConfigureCookieAuthenticationOptions.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Options/ConfigureOpenIdConnectOptions.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Services/ClaimTransformationCacheService.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Services/DataProtectionCertService.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Services/JwtAuthorizationCookieClaimService.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Services/JwtRefreshService.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Services/LoginRedirectService.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Services/OidcSettings.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Services/RoleClaimService.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Services/RoleClaimTransformer.cs
  • src/SAIF.NetCore.OIDC/src/SAIF.NetCore.OIDC/Services/UrlCaseService.cs