public JwksActions( IGetSetOfPublicKeysUsedToValidateJwsAction getSetOfPublicKeysUsedToValidateJwsAction, IGetSetOfPublicKeysUsedByTheClientToEncryptJwsTokenAction getSetOfPublicKeysUsedByTheClientToEncryptJwsTokenAction, IRotateJsonWebKeysOperation rotateJsonWebKeysOperation) { _getSetOfPublicKeysUsedToValidateJwsAction = getSetOfPublicKeysUsedToValidateJwsAction; _getSetOfPublicKeysUsedByTheClientToEncryptJwsTokenAction = getSetOfPublicKeysUsedByTheClientToEncryptJwsTokenAction; _rotateJsonWebKeysOperation = rotateJsonWebKeysOperation; }
private void InitializeFakeObjects() { _jsonWebKeyRepositoryStub = new Mock <IJsonWebKeyRepository>(); _rotateJsonWebKeysOperation = new RotateJsonWebKeysOperation(_jsonWebKeyRepositoryStub.Object); }