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