File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
python/ql/src/experimental/semmle/python Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -317,12 +317,12 @@ module JWTEncoding {
317317 abstract DataFlow:: Node getKey ( ) ;
318318
319319 /**
320- * Gets the algorithm Node used in the encoding.
320+ * Gets the argument for the algorithm used in the encoding.
321321 */
322322 abstract DataFlow:: Node getAlgorithm ( ) ;
323323
324324 /**
325- * Tries to get the algorithm used in the encoding.
325+ * Gets a string representation of the algorithm used in the encoding.
326326 */
327327 abstract string getAlgorithmString ( ) ;
328328 }
@@ -359,7 +359,7 @@ class JWTEncoding extends DataFlow::Node instanceof JWTEncoding::Range {
359359/** Provides classes for modeling JWT decoding-related APIs. */
360360module JWTDecoding {
361361 /**
362- * A data-flow node that collects methods encoding a JWT token.
362+ * A data-flow node that collects methods decoding a JWT token.
363363 *
364364 * Extend this class to model new APIs. If you want to refine existing API models,
365365 * extend `JWTDecoding` instead.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ private module Authlib {
77 /** Gets a reference to `authlib.jose.(jwt|JsonWebToken)` */
88 private API:: Node authlibJWT ( ) {
99 result in [
10- API:: moduleImport ( "authlib. jose" ) .getMember ( "jwt" ) ,
10+ API:: moduleImport ( "authlib" ) . getMember ( " jose") .getMember ( "jwt" ) ,
1111 API:: moduleImport ( "authlib.jose" ) .getMember ( "JsonWebToken" ) .getReturn ( )
1212 ]
1313 }
You can’t perform that action at this time.
0 commit comments