Skip to main content

fetch_bearer

Function fetch_bearer 

Source
fn fetch_bearer(ctx: &Context) -> Option<String>
Expand description

Extracts the bearer token from the Authorization header, normalizing to a Bearer -prefixed value (mirroring APISIX’s fetch_jwt_token).