• R/O
  • SSH
  • HTTPS

grpcdotnet: Commit


Commit MetaInfo

Revision11 (tree)
Time2020-10-05 14:21:59
Authorsebastiandotnet

Log Message

update extended jwt poc

Change Summary

Incremental Difference

--- SessionJwt/SL.SessionJwt.ConsoleClient/Program.cs (revision 10)
+++ SessionJwt/SL.SessionJwt.ConsoleClient/Program.cs (revision 11)
@@ -9,7 +9,7 @@
99 {
1010 await new TestSayHello().Start();
1111 await new TestLogonLogout().Start();
12- await new OutdatedTookie().Start();
12+ await new TestOutdatedTookie().Start();
1313
1414 Console.WriteLine("Press any key.");
1515 Console.ReadKey();
--- SessionJwt/SL.SessionJwt.ConsoleClient/TestOutdatedTookie.cs (revision 10)
+++ SessionJwt/SL.SessionJwt.ConsoleClient/TestOutdatedTookie.cs (revision 11)
@@ -6,11 +6,11 @@
66
77 namespace SL.SessionJwt.ConsoleClient
88 {
9- public class OutdatedTookie
9+ public class TestOutdatedTookie
1010 {
1111 public async Task Start()
1212 {
13- WriteLine($"=== {nameof(OutdatedTookie)} starts. ===");
13+ WriteLine($"=== {nameof(TestOutdatedTookie)} starts. ===");
1414
1515 using (var user = await LogonAndSayHello())
1616 {
@@ -29,7 +29,7 @@
2929 await Logout(user);
3030 }
3131
32- WriteLine($"=== {nameof(OutdatedTookie)} passed. ==={Environment.NewLine}");
32+ WriteLine($"=== {nameof(TestOutdatedTookie)} passed. ==={Environment.NewLine}");
3333 }
3434
3535 public async Task<UserProxy> LogonAndSayHello()
@@ -38,7 +38,7 @@
3838 try
3939 {
4040 await user.LogonAsync();
41- await user.Client<Greeter.GreeterClient>().SayHelloAsync(new HelloRequest { Name = nameof(OutdatedTookie) });
41+ await user.Client<Greeter.GreeterClient>().SayHelloAsync(new HelloRequest { Name = nameof(TestOutdatedTookie) });
4242 WriteLine("passed.");
4343 return user;
4444 }
@@ -71,7 +71,7 @@
7171 {
7272 try
7373 {
74- await user.Client<Greeter.GreeterClient>().SayHelloAsync(new HelloRequest { Name = nameof(OutdatedTookie) });
74+ await user.Client<Greeter.GreeterClient>().SayHelloAsync(new HelloRequest { Name = nameof(TestOutdatedTookie) });
7575 }
7676 catch (RpcException)
7777 {
@@ -91,7 +91,7 @@
9191 try
9292 {
9393 await user.RenewAsync();
94- await user.Client<Greeter.GreeterClient>().SayHelloAsync(new HelloRequest { Name = nameof(OutdatedTookie) });
94+ await user.Client<Greeter.GreeterClient>().SayHelloAsync(new HelloRequest { Name = nameof(TestOutdatedTookie) });
9595 WriteLine("passed.");
9696 }
9797 catch (RpcException exception)
Show on old repository browser