MCPcopy Create free account
hub / github.com/authlib/authlib / test_implicit_id_token

Function test_implicit_id_token

tests/core/test_oidc/test_core.py:115–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113
114
115def test_implicit_id_token():
116 claims = ImplicitIDToken(
117 {
118 "iss": "1",
119 "sub": "1",
120 "aud": "1",
121 "exp": 10000,
122 "iat": 100,
123 "nonce": "a",
124 },
125 {},
126 )
127 claims.params = {"access_token": "a"}
128 with pytest.raises(MissingClaimError):
129 claims.validate(1000)
130
131
132def test_hybrid_id_token():

Callers

nothing calls this directly

Calls 2

ImplicitIDTokenClass · 0.90
validateMethod · 0.45

Tested by

no test coverage detected