Cryptography

PyOauthlib

oauthlib implements the OAuth 1 / OAuth 2 protocols. WebApplicationClient.parse_request_uri_response extracts the authorization code from the callback URL — source for subsequent token exchange.

1 source
Taint flow1 source 0 sinks
Sources — untrusted input
.parse_request_uri_response()

Sources

.parse_request_uri_response()Source
#
Signature
WebApplicationClient.parse_request_uri_response(uri, state=None) -> dict

Extracts code / tokens from callback URI. Source for tokens.

tracks:return

Other Methods

.WebApplicationClient()Neutral
#
Signature
oauthlib.oauth2.WebApplicationClient(client_id, ...) -> WebApplicationClient

OAuth 2 client.

Fully-Qualified Names

FQNField
oauthlibfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
from codepathfinder.go_rule import PyOauthlib