MCPcopy
hub / github.com/authlib/authlib / test_implicit_id_token

Function test_implicit_id_token

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ImplicitIDTokenClass · 0.90
validateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…