

@pytest.fixture(autouse=True)
def create_provider(self):
    kb = KeyBundle(JWKS['keys'])
    kj = KeyJar()
    kj.issuer_keys[''] = [kb]
    _sdb = SessionDB('https://example.com/', token_factory=JWTToken('T', keyjar=kj, lt_pattern={
        'code': 3600,
        'token': 900,
    }, iss='https://example.com/as', sign_alg='RS256'), refresh_token_factory=JWTToken('R', keyjar=kj, lt_pattern={
        '': (24 * 3600),
    }, iss='https://example.com/as'))
    self.provider = Provider('as', _sdb, CDB, AUTHN_BROKER, AUTHZ, verify_client, baseurl='https://example.com/as')

dataset/ETHPy150Open rohe/pyoidc/tests/test_ext_provider.py TestProvider.create_provider/original