pub fn extract_auth_code(input: &str) -> StringExpand description
Extract the authorization code from a callback URL or raw code string.
Accepts either a full URL (e.g., http://127.0.0.1:8080/callback?code=XXX&state=YYY)
or a bare authorization code.