Skip to content

Commit bf9deca

Browse files
committed
2 parents fe94fe5 + 5272200 commit bf9deca

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

examples/TokenTool/TokenTool.Core/TokenTool.cs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ public static async Task RunAsync()
7979

8080
if (input == "s")
8181
{
82-
Console.WriteLine("Client ID: ");
82+
Console.WriteLine("Client ID (YourEmail or empty): ");
8383
var id = Console.ReadLine();
84-
Console.WriteLine("Client Secret: ");
84+
Console.WriteLine("Client Secret (YourEmail-secret or empty): ");
8585
var secret = Console.ReadLine();
8686
if (id == "" && secret == "")
8787
{
@@ -146,7 +146,7 @@ public static async Task RunAsync()
146146
break;
147147

148148
case "e":
149-
Console.WriteLine("Entra ID?");
149+
Console.WriteLine("Entra ID (from https://entraid.aas-voyager.com/)?");
150150
entraid = Console.ReadLine() ?? "";
151151
break;
152152

@@ -372,13 +372,11 @@ public static async Task RunAsync()
372372
}
373373
}
374374

375-
// --- Hilfsmethoden ---
376-
377375
private static X509Certificate2? SelectCertificateWithUI(List<string> rootCertSubjects)
378376
{
379377
if (!OperatingSystem.IsWindows())
380378
{
381-
Console.WriteLine("Certificate UI ist nur unter Windows verfügbar. Bitte Modus 'f' (PFX) verwenden.");
379+
Console.WriteLine("Certificate UI is only available on Windows. Please use mode 'f' (PFX).");
382380
return null;
383381
}
384382

@@ -469,7 +467,7 @@ private static async Task<string> AcquireEntraIdInteractiveAsync(string clientId
469467
{
470468
if (!OperatingSystem.IsWindows())
471469
{
472-
Console.WriteLine("Interaktives EntraID ist unter Linux nicht praktikabel; bitte 'e' (Token kopieren) nutzen.");
470+
Console.WriteLine("Interaktive EntraID is only available on Windows; please use mode 'e' and copy token.");
473471
return "";
474472
}
475473

examples/TokenTool/TokenTool.Ui/Pages/TokenTool.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<div class="d-flex gap-2 align-items-center flex-wrap">
77
<input class="form-control" style="min-width: 22rem"
8-
placeholder="Zeile eingeben und Enter (z.B. 0, f, s ...)"
8+
placeholder="Text and ENTER (z.B. 0, f, s ...)"
99
@bind="CurrentLine"
1010
@bind:event="oninput"
1111
@onkeydown="OnKeyDown" />

0 commit comments

Comments
 (0)