File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212from atlassian_jwt_auth .tests import utils
1313
1414
15- class NoneAlgorithmJwtSigner (atlassian_jwt_auth .signer .JWTAuthSigner ):
16- """ A JwtSigner that generates JWTs using the none algorithm
15+ class NoneAlgorithmJwtAuthSigner (atlassian_jwt_auth .signer .JWTAuthSigner ):
16+ """ A JWTAuthSigner that generates JWTs using the none algorithm
1717 and supports specifying arbitrary alg jwt header values.
1818 """
1919
@@ -72,7 +72,7 @@ def test_verify_jwt_with_none_algorithm(self):
7272 verifier = self ._setup_jwt_auth_verifier (self ._public_key_pem )
7373 private_key_ret = atlassian_jwt_auth .key .StaticPrivateKeyRetriever (
7474 self ._example_key_id , self ._private_key_pem .decode ())
75- jwt_signer = NoneAlgorithmJwtSigner (
75+ jwt_signer = NoneAlgorithmJwtAuthSigner (
7676 issuer = self ._example_issuer ,
7777 private_key_retriever = private_key_ret ,
7878 )
You can’t perform that action at this time.
0 commit comments