update docstring of FetchAuthorization

Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
Erik Krogh Kristensen
2020-06-03 13:31:16 +02:00
committed by GitHub
parent 19dd472ee5
commit 1b53cd4bd9

View File

@@ -1157,7 +1157,7 @@ module NodeJSLib {
result = DataFlow::globalVarRef("Headers").getAnInstantiation() // https://fetch.spec.whatwg.org/#headers-class
}
/** An expression that is passed as `http.request({ auth: <expr> }, ...)`. */
/** An expression that is used as a credential in fetch-request. */
private class FetchAuthorization extends CredentialsExpr {
FetchAuthorization() {
exists(DataFlow::Node headers |