Skip to main content

Module credential_source

Module credential_source 

Source

Structs§

ExtractedToken
A token extracted from a specific source.

Enums§

CredentialSource
Re-export of the CredentialSource contract type, which now lives in camel-api so camel-core and camel-dsl can reference it without depending on this crate. Keeps every existing camel_auth::CredentialSource path (e.g. camel-ws, camel-component-api) compiling unchanged. Source from which a token can be extracted.

Functions§

extract_token_from_cookie
Extract a token from a named cookie in the Cookie header.
extract_token_from_exchange
Extract a token from the Exchange input using the route-declared sources.
extract_token_from_header
Extract a bearer token from the Authorization header.
extract_token_from_named_header
Extract a token from a named request header.
extract_token_from_query
Extract a token from the query string of a URI.
extract_token_multi
Try each source in order, returning the first successful extraction.
redact_query_params
Replace sensitive query parameter values with [REDACTED].