def METHOD_NAME(self):
    token = self.th.get_access_token(
        "https://example.org/rp", "foo bar", "client_credentials"
    )
    assert token
    info = self.th.token_factory.get_info(token)
    assert _eq(
        list(info.keys()),
        ["jti", "scope", "exp", "iss", "aud", "iat", "kid", "azp"],
    )