crash.software
Projects
Pull Requests
Issues
Builds
graphql-engine
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
graphql-engine
Files
🤬
Sign In
release/v2.11
ROOT
/
server
/
tests-py
/
test_jwt.py
Search
History
600 lines
|
ISO-8859-1
|
24 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
datetime
timedelta
timezone
math
json
time
pytest
jwt
init_ws_conn
default_backend
rsa
serialization
YAML
check_query
mk_claims_with_namespace_path
PytestConf
yaml
get_claims_fmt
(raw_conf)
mk_claims
(conf,claims)
get_header_fmt
(raw_conf)
mk_authz_header
(conf,token)
TestJWTExpirySkew
claims
dir
conf
test_jwt_expiry_leeway
(self,hge_ctx,endpoint)
transact
(self,setup)
setup
(self,request,hge_ctx)
TestJWTBasic
claims
dir
conf
test_jwt_valid_claims_success
(self,hge_ctx,endpoint)
test_jwt_invalid_role_in_request_header
(self,hge_ctx,endpoint)
test_jwt_no_allowed_roles_in_claim
(self,hge_ctx,endpoint)
test_jwt_invalid_allowed_roles_in_claim
(self,hge_ctx,endpoint)
test_jwt_no_default_role
(self,hge_ctx,endpoint)
test_jwt_expired
(self,hge_ctx,endpoint)
test_jwt_invalid_signature
(self,hge_ctx,endpoint)
test_jwt_no_audience_in_conf
(self,hge_ctx,endpoint)
test_jwt_no_issuer_in_conf
(self,hge_ctx,endpoint)
transact
(self,setup)
setup
(self,request,hge_ctx)
gen_rsa_key
()
TestSubscriptionJwtExpiry
(object)
claims
test_jwt_expiry
(self,hge_ctx,ws_client)
TestJwtAudienceCheck
claims
dir
conf
test_jwt_valid_audience
(self,hge_ctx,endpoint)
test_jwt_invalid_audience
(self,hge_ctx,endpoint)
transact
(self,setup)
setup
(self,request,hge_ctx)
TestJwtIssuerCheck
claims
dir
conf
test_jwt_valid_issuer
(self,hge_ctx,endpoint)
test_jwt_invalid_issuer
(self,hge_ctx,endpoint)
transact
(self,setup)
setup
(self,request,hge_ctx)
All occurrences
Please wait...
Page is in error, reload to recover