Documentation
¶
Overview ¶
Package jwtextract pulls JWT-shaped tokens from HTTP flows (Bearer header, JSON fields, URL path/query, cookies) for cross-host replay and SSO testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extract ¶
Extract returns the first JWT found and a source label (e.g. "bearer", "json:login_token").
func ReplayPath ¶
ReplayPath builds the path to replay on each host for path-mode JWT replay. If refPath already embeds the token, it is returned unchanged.
func SourceUsesPath ¶
SourceUsesPath reports whether replay should preserve/inject the JWT in the URL path.
Types ¶
Click to show internal directories.
Click to hide internal directories.