Exemplo n.º 1
0
 private void InitializeFakeObjects()
 {
     _jsonWebKeyConverterStub = new Mock <IJsonWebKeyConverter>();
     _httpClientFactoryStub   = new Mock <IHttpClientFactory>();
     _jsonWebKeyHelper        = new JsonWebKeyHelper(_jsonWebKeyConverterStub.Object,
                                                     _httpClientFactoryStub.Object);
 }
Exemplo n.º 2
0
 public CreateJwsAction(
     IJwsGenerator jwsGenerator,
     IJsonWebKeyHelper jsonWebKeyHelper)
 {
     _jwsGenerator     = jwsGenerator;
     _jsonWebKeyHelper = jsonWebKeyHelper;
 }
Exemplo n.º 3
0
 public GetJweInformationAction(
     IJweParser jweParser,
     IJwsParser jwsParser,
     IJsonWebKeyHelper jsonWebKeyHelper)
 {
     _jweParser        = jweParser;
     _jwsParser        = jwsParser;
     _jsonWebKeyHelper = jsonWebKeyHelper;
 }