62 references to Run
dotnet-user-jwts (1)
Program.cs (1)
25new Program(PhysicalConsole.Singleton).Run(args);
Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Tests (61)
UserJwtsTests.cs (61)
30app.Run(new[] { "list", "--project", project }); 40app.Run(new[] { "list", "--project", project }); 51app.Run(new[] { "create", "--project", project }); 65app.Run(new[] { "create", "--project", project }); 109app.Run(new[] { "create", "--project", project }); 125app.Run(new[] { "print", "invalid-id", "--project", project }); 135app.Run(new[] { "create", "--project", project, "--scheme", "MyCustomScheme" }); 138app.Run(new[] { "list", "--project", project }); 149app.Run(new[] { "create", "--project", project, "--scheme", schemeName }); 154app.Run(new[] { "list", "--project", project, "--output", "json" }); 170app.Run(new[] { "list", "--project", project, "--output", "json" }); 183app.Run(new[] { "create", "--project", project }); 186app.Run(new[] { "create", "--project", project, "--scheme", "Scheme2" }); 188app.Run(new[] { "remove", id, "--project", project }); 201app.Run(new[] { "create", "--project", project }); 202app.Run(new[] { "create", "--project", project, "--scheme", "Scheme2" }); 206app.Run(new[] { "clear", "--project", project, "--force" }); 218app.Run(new[] { "create", "--project", project }); 219app.Run(new[] { "key", "--project", project }); 222app.Run(new[] { "key", "--reset", "--force", "--project", project }); 239app.Run(new[] { "create", "--project", project }); 240app.Run(new[] { "key", "--project", project }); 243app.Run(new[] { "key", "--reset", "--force", "--project", project }); 260var exception = Record.Exception(() => app.Run(new[] { "not-real", "--project", project })); 272app.Run(new[] { "create", "--project", project }); 286app.Run(new[] { "create", "--project", project, "--expires-on", DateTime.Now.AddDays(2).ToString("O") }); 301app.Run(new[] { "create", "--project", project, "--scheme", "customScheme" }); 315app.Run(new[] { "create", "--project", project, "--expires-on", DateTime.UtcNow.AddDays(2).ToString("O"), "--valid-for", "2h" }); 328app.Run(new[] { "create", "--project", project }); 332app.Run(new[] { "print", id, "--project", project }); 347app.Run(new[] { "create", "--project", project }); 352app.Run(new[] { "print", id, "--project", project, "--output", "json" }); 367app.Run(new[] { "create", "--project", project, "--role", "foobar" }); 371app.Run(new[] { "print", id, "--project", project }); 388app.Run(new[] { "create", "--project", project, "--claim", "foo=bar" }); 392app.Run(new[] { "print", id, "--project", project, "--show-all" }); 410app.Run(new[] { "create", "--project", project, "--output", "json" }); 425app.Run(new[] { "create", "--project", project, "-o", "token" }); 442app.Run(new[] { "create", "--project", project }); 461app.Run(new[] { "create", "--project", project }); 510app.Run(new[] { "create", "--project", project }); 513app.Run(new[] { "print", id, "--project", project, "--show-all" }); 528app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer", "--scheme", "test-scheme" }); 549app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer", "--scheme", "test-scheme" }); 550app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer-2", "--scheme", "test-scheme" }); 571app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer", "--scheme", "test-scheme" }); 572app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer", "--scheme", "test-scheme-2" }); 595app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer", "--scheme", "test-scheme" }); 596app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer", "--scheme", "test-scheme-2" }); 597app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer-2", "--scheme", "test-scheme" }); 598app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer-2", "--scheme", "test-scheme-3" }); 603app.Run(new[] { "key", "--project", project, "--scheme", "test-scheme", "--issuer", "test-issuer" }); 608app.Run(new[] { "key", "--project", project, "--reset", "--force", "--scheme", "test-scheme", "--issuer", "test-issuer" }); 621app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer", "--scheme", "test-scheme" }); 622app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer", "--scheme", "test-scheme-2" }); 623app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer-2", "--scheme", "test-scheme" }); 624app.Run(new[] { "create", "--project", project, "--issuer", "test-issuer-2", "--scheme", "test-scheme-3" }); 629app.Run(new[] { "key", "--project", project, "--scheme", "test-scheme", "--issuer", "test-issuer" }); 723app.Run(new[] { "list", "--project", targetPath }); 738app.Run(new[] { "create", "--project", targetPath }); 751app.Run(new[] { "create", "--project", project });