Skip to main content

Module discovery

Module discovery 

Source

Structs§

HydratedOidcDiscovery
OidcDiscoveryDocument
PartialOidcDiscoveryConfig

Enums§

OidcDiscoveryError
OidcRuntimeRequirement

Constants§

REQUIRED_DISCOVERY_FIELDS
Required fields that must be present in a valid OIDC discovery document.

Traits§

OidcEndpointConfig

Functions§

compute_discovery_url
discover_oidc_config
discover_oidc_config_with_origin_validator
ensure_runtime_oidc_config_with_origin_validator
fetch_discovery_document
Fetch the OIDC discovery document from the IdP.
is_configured_oidc_endpoint
Returns true when an optional endpoint URL is present and non-empty.
needs_runtime_discovery
normalize_absolute_http_url
Normalize and validate an absolute HTTP(S) URL.
normalize_discovery_urls
Normalize discovery document URLs and validate each endpoint origin.
normalize_endpoint_url
Normalize an OIDC endpoint URL, resolving relative endpoints against the issuer origin and path.
normalize_url
select_token_endpoint_authentication
Select the token endpoint authentication method from discovery metadata.
validate_configured_oidc_endpoint_origins
validate_discovery_document
Validate a discovery document for required fields and issuer match.
validate_discovery_url
Validate a discovery URL before fetching.
validate_issuer_url