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 {
317
317
abstract DataFlow:: Node getKey ( ) ;
318
318
319
319
/**
320
- * Gets the algorithm Node used in the encoding.
320
+ * Gets the argument for the algorithm used in the encoding.
321
321
*/
322
322
abstract DataFlow:: Node getAlgorithm ( ) ;
323
323
324
324
/**
325
- * Tries to get the algorithm used in the encoding.
325
+ * Gets a string representation of the algorithm used in the encoding.
326
326
*/
327
327
abstract string getAlgorithmString ( ) ;
328
328
}
@@ -359,7 +359,7 @@ class JWTEncoding extends DataFlow::Node instanceof JWTEncoding::Range {
359
359
/** Provides classes for modeling JWT decoding-related APIs. */
360
360
module JWTDecoding {
361
361
/**
362
- * A data-flow node that collects methods encoding a JWT token.
362
+ * A data-flow node that collects methods decoding a JWT token.
363
363
*
364
364
* Extend this class to model new APIs. If you want to refine existing API models,
365
365
* extend `JWTDecoding` instead.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ private module Authlib {
7
7
/** Gets a reference to `authlib.jose.(jwt|JsonWebToken)` */
8
8
private API:: Node authlibJWT ( ) {
9
9
result in [
10
- API:: moduleImport ( "authlib. jose" ) .getMember ( "jwt" ) ,
10
+ API:: moduleImport ( "authlib" ) . getMember ( " jose") .getMember ( "jwt" ) ,
11
11
API:: moduleImport ( "authlib.jose" ) .getMember ( "JsonWebToken" ) .getReturn ( )
12
12
]
13
13
}
You can’t perform that action at this time.
0 commit comments