1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
|
// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
// SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.1
import type { Locale } from "./localization";
import type { ApplicationKind, OAuthScope } from "./credentials";
/**
* The text of the Progmasoft OAuth pages at credentials.progmasoft.com, in
* every published language. Placeholders in braces are filled by
* {@link format}.
*/
interface CredentialsMessages {
metadata: {
home: string;
signIn: string;
portal: string;
newToken: string;
application: string;
consent: string;
allowed: string;
};
common: {
product: string;
developers: string;
console: string;
allowedApplications: string;
organization: string;
back: string;
signIn: string;
signOut: string;
signedInAs: string;
signInRequired: string;
signInAccount: string;
loading: string;
unreachable: string;
notFound: string;
};
home: {
eyebrow: string;
title: string;
description: string;
signedOut: string;
developersText: string;
allowedText: string;
discovery: string;
};
signIn: {
eyebrow: string;
title: string;
description: string;
email: string;
password: string;
submit: string;
working: string;
failed: string;
noAccount: string;
createAccount: string;
};
overview: {
eyebrow: string;
title: string;
description: string;
credentialsText: string;
allowedText: string;
docs: string;
docsText: string;
};
portal: {
eyebrow: string;
title: string;
description: string;
newToken: string;
empty: string;
limit: string;
endpoints: string;
};
kinds: Record<ApplicationKind, { title: string; description: string }> & {
chooseTitle: string;
chooseDescription: string;
label: string;
};
form: {
name: string;
homepage: string;
redirectUris: string;
postLogoutRedirectUris: string;
scopes: string;
scopesNote: string;
serviceNote: string;
create: string;
save: string;
saved: string;
working: string;
hints: Record<ApplicationKind, string>;
};
details: {
clientId: string;
clientSecret: string;
created: string;
copyNow: string;
noSecret: string;
secretHeading: string;
rotate: string;
rotateNote: string;
deleteHeading: string;
deleteNote: string;
delete: string;
confirmDelete: string;
tokenCreated: string;
newSecret: string;
};
scopes: Record<OAuthScope, string> & { account: string };
consent: {
eyebrow: string;
title: string;
wants: string;
registeredBy: string;
returnTo: string;
signedInAs: string;
withdrawLater: string;
allow: string;
deny: string;
invalid: string;
};
allowed: {
eyebrow: string;
title: string;
description: string;
empty: string;
since: string;
deleted: string;
withdraw: string;
};
}
export const credentialsMessages: Record<Locale, CredentialsMessages> = {
"en-US": {
metadata: {
home: "Progmasoft OAuth",
signIn: "Sign in to Progmasoft OAuth",
portal: "OAuth 2.1 tokens",
newToken: "New token",
application: "Application",
consent: "Allow access",
allowed: "Allowed applications",
},
common: {
product: "Progmasoft OAuth",
developers: "OAuth 2.1 tokens",
console: "Console",
allowedApplications: "Allowed applications",
organization: "Progmasoft",
back: "Back",
signIn: "Sign in",
signOut: "Sign out",
signedInAs: "Signed in as {name}.",
signInRequired:
"Sign in to your Progmasoft account to manage the tokens of your applications.",
signInAccount: "Sign in to Progmasoft",
loading: "Loading…",
unreachable: "Progmasoft OAuth could not be reached. Try again.",
notFound: "No application of yours has this client identifier.",
},
home: {
eyebrow: "OAuth 2.1 · OpenID Connect",
title: "Sign in with Progmasoft",
description:
"Let people sign in to your application with their Progmasoft account and, with their consent, act on ViGet for them. Any developer can make a token.",
signedOut:
"Sign in to make OAuth 2.1 tokens for your applications or to review the applications you have allowed.",
developersText: "Make and manage the tokens of your applications.",
allowedText: "See and withdraw what applications may do for you.",
discovery: "Discovery document",
},
signIn: {
eyebrow: "Progmasoft OAuth",
title: "Sign in to Progmasoft",
description:
"Use your Progmasoft account. This sign-in stays on credentials.progmasoft.com; applications never see your password.",
email: "Email address",
password: "Password",
submit: "Sign in",
working: "Signing in…",
failed: "The email address or the password is not right.",
noAccount: "No account yet?",
createAccount: "Create a Progmasoft account",
},
overview: {
eyebrow: "Progmasoft Console",
title: "Build on Progmasoft",
description:
"Manage how your applications use Progmasoft: sign-in with Progmasoft accounts today, more Progmasoft services as they open.",
credentialsText:
"Tokens of your applications: web, single-page, desktop, mobile and service.",
allowedText: "Applications that may act for your own account.",
docs: "Developer guide",
docsText: "Flows, scopes, consent and limits of Progmasoft OAuth.",
},
portal: {
eyebrow: "Developers",
title: "OAuth 2.1 tokens",
description:
"Each token is one application: its client identifier, its secret if its type has one, and where people return after signing in.",
newToken: "New token",
empty: "You have no token yet.",
limit: "An account can have {count} tokens.",
endpoints:
"Applications that sign people in use the authorization code flow with PKCE (S256). The discovery document lists every endpoint.",
},
kinds: {
chooseTitle: "New token",
chooseDescription:
"The type decides how the application proves itself and where Progmasoft OAuth may send people back. It cannot change later.",
label: "Application type",
web: {
title: "Web application",
description:
"A site with a server. Authorization code flow with PKCE, and a client secret the server keeps.",
},
spa: {
title: "Single-page application",
description:
"A browser application without a server, such as React or Vue. Authorization code flow with PKCE, no secret; the token endpoint answers its origin.",
},
desktop: {
title: "Desktop application",
description:
"A desktop or command-line program. Authorization code flow with PKCE, no secret; returns through a loopback address or a private-use scheme.",
},
mobile: {
title: "Mobile application",
description:
"An iOS or Android application. Authorization code flow with PKCE, no secret; returns through a private-use scheme or a claimed https:// address.",
},
service: {
title: "Service",
description:
"A server that acts as itself, not for a person. Client credentials grant with a client secret; no account scope and no sign-in page.",
},
},
form: {
name: "Name",
homepage: "Homepage (optional)",
redirectUris: "Redirection addresses, one per line",
postLogoutRedirectUris:
"Addresses after sign-out (optional), one per line",
scopes: "Scopes the application may request",
scopesNote:
"openid is always available. Each person still decides on the consent page.",
serviceNote:
"A service asks /connect/token with grant_type=client_credentials and its secret. The token names the application itself and carries no account scope.",
create: "Create",
save: "Save",
saved: "The application was saved.",
working: "Saving…",
hints: {
web: "https:// addresses; http:// only for a loopback address during development.",
spa: "https:// addresses of the application; http:// only for a loopback address during development. The token endpoint answers the origins of these addresses.",
desktop:
"http:// with a loopback address (http://127.0.0.1:8400/callback), or a private-use scheme (com.example.app:/callback).",
mobile:
"A private-use scheme (com.example.app:/callback), or an https:// address the app claims.",
service: "",
},
},
details: {
clientId: "Client identifier",
clientSecret: "Client secret",
created: "Created {date}",
copyNow:
"Copy the secret now. It is stored only as a hash and is never shown again; if it is lost, make a new one.",
noSecret: "This type has no secret: it proves itself with PKCE only.",
secretHeading: "Secret",
rotate: "Make a new client secret",
rotateNote: "The old secret stops working at once.",
deleteHeading: "Delete",
deleteNote:
"Deleting the application ends every authorization and token it holds.",
delete: "Delete the application",
confirmDelete: "Delete this application and end all of its tokens?",
tokenCreated: "Token created",
newSecret: "New client secret",
},
scopes: {
account: "Know which Progmasoft account you use.",
profile: "Read your Progmasoft account name.",
email: "Read the email address you sign in and registered with.",
"viget.packages.read": "Read the packages you have published on ViGet.",
"viget.packages.publish": "Publish packages to ViGet under your account.",
"viget.packages.yank": "Yank packages you have published on ViGet.",
offline_access:
"Keep this access when you are not using the application.",
},
consent: {
eyebrow: "Progmasoft OAuth",
title: "Allow {name}?",
wants: "{name} wants to:",
registeredBy: "Registered by {owner}.",
returnTo: "You will be sent back to {origin}.",
signedInAs: "Signed in as {name}.",
withdrawLater:
"You can withdraw this at any time under Allowed applications.",
allow: "Allow",
deny: "Deny",
invalid:
"This request does not name a registered application, address and scopes. Go back to the application and try again.",
},
allowed: {
eyebrow: "Your account",
title: "Allowed applications",
description:
"Withdrawing ends the application's access and refresh tokens at once; it will have to ask you again.",
empty: "You have not allowed any application.",
since: "Since {date}",
deleted: "A deleted application",
withdraw: "Withdraw",
},
},
"de-DE": {
metadata: {
home: "Progmasoft OAuth",
signIn: "Bei Progmasoft OAuth anmelden",
portal: "OAuth-2.1-Tokens",
newToken: "Neues Token",
application: "Anwendung",
consent: "Zugriff erlauben",
allowed: "Erlaubte Anwendungen",
},
common: {
product: "Progmasoft OAuth",
developers: "OAuth-2.1-Tokens",
console: "Console",
allowedApplications: "Erlaubte Anwendungen",
organization: "Progmasoft",
back: "Zurück",
signIn: "Anmelden",
signOut: "Abmelden",
signedInAs: "Angemeldet als {name}.",
signInRequired:
"Melden Sie sich bei Ihrem Progmasoft-Konto an, um die Tokens Ihrer Anwendungen zu verwalten.",
signInAccount: "Bei Progmasoft anmelden",
loading: "Wird geladen …",
unreachable:
"Progmasoft OAuth ist nicht erreichbar. Versuchen Sie es erneut.",
notFound: "Keine Ihrer Anwendungen hat diese Client-ID.",
},
home: {
eyebrow: "OAuth 2.1 · OpenID Connect",
title: "Mit Progmasoft anmelden",
description:
"Lassen Sie Menschen sich mit ihrem Progmasoft-Konto bei Ihrer Anwendung anmelden und mit ihrer Zustimmung auf ViGet für sie handeln. Jede Entwicklerin und jeder Entwickler kann ein Token erstellen.",
signedOut:
"Melden Sie sich an, um OAuth-2.1-Tokens für Ihre Anwendungen zu erstellen oder die Anwendungen zu prüfen, denen Sie Zugriff erlaubt haben.",
developersText: "Tokens Ihrer Anwendungen erstellen und verwalten.",
allowedText: "Sehen und widerrufen, was Anwendungen für Sie tun dürfen.",
discovery: "Discovery-Dokument",
},
signIn: {
eyebrow: "Progmasoft OAuth",
title: "Bei Progmasoft anmelden",
description:
"Verwenden Sie Ihr Progmasoft-Konto. Diese Anmeldung bleibt auf credentials.progmasoft.com; Anwendungen sehen Ihr Passwort nie.",
email: "E-Mail-Adresse",
password: "Passwort",
submit: "Anmelden",
working: "Anmeldung läuft …",
failed: "Die E-Mail-Adresse oder das Passwort ist nicht richtig.",
noAccount: "Noch kein Konto?",
createAccount: "Progmasoft-Konto erstellen",
},
overview: {
eyebrow: "Progmasoft Console",
title: "Mit Progmasoft entwickeln",
description:
"Verwalten Sie, wie Ihre Anwendungen Progmasoft nutzen: heute die Anmeldung mit Progmasoft-Konten, weitere Progmasoft-Dienste, sobald sie öffnen.",
credentialsText:
"Tokens Ihrer Anwendungen: Web, Single-Page, Desktop, Mobil und Dienst.",
allowedText: "Anwendungen, die für Ihr eigenes Konto handeln dürfen.",
docs: "Entwicklerhandbuch",
docsText:
"Flows, Berechtigungen, Zustimmung und Grenzen von Progmasoft OAuth.",
},
portal: {
eyebrow: "Entwickler",
title: "OAuth-2.1-Tokens",
description:
"Jedes Token ist eine Anwendung: ihre Client-ID, ihr Secret, falls ihr Typ eines hat, und wohin Menschen nach der Anmeldung zurückkehren.",
newToken: "Neues Token",
empty: "Sie haben noch kein Token.",
limit: "Ein Konto kann {count} Tokens haben.",
endpoints:
"Anwendungen, die Menschen anmelden, verwenden den Authorization-Code-Flow mit PKCE (S256). Das Discovery-Dokument nennt jeden Endpunkt.",
},
kinds: {
chooseTitle: "Neues Token",
chooseDescription:
"Der Typ bestimmt, wie sich die Anwendung ausweist und wohin Progmasoft OAuth Menschen zurückschicken darf. Er lässt sich später nicht ändern.",
label: "Anwendungstyp",
web: {
title: "Webanwendung",
description:
"Eine Website mit Server. Authorization-Code-Flow mit PKCE und ein Client-Secret, das der Server aufbewahrt.",
},
spa: {
title: "Single-Page-Anwendung",
description:
"Eine Browser-Anwendung ohne Server, etwa mit React oder Vue. Authorization-Code-Flow mit PKCE, kein Secret; der Token-Endpunkt antwortet ihrem Origin.",
},
desktop: {
title: "Desktop-Anwendung",
description:
"Ein Desktop- oder Kommandozeilenprogramm. Authorization-Code-Flow mit PKCE, kein Secret; Rückkehr über eine Loopback-Adresse oder ein privates Schema.",
},
mobile: {
title: "Mobile Anwendung",
description:
"Eine iOS- oder Android-App. Authorization-Code-Flow mit PKCE, kein Secret; Rückkehr über ein privates Schema oder eine beanspruchte https://-Adresse.",
},
service: {
title: "Dienst",
description:
"Ein Server, der für sich selbst handelt, nicht für eine Person. Client-Credentials-Grant mit Client-Secret; keine Kontoberechtigung und keine Anmeldeseite.",
},
},
form: {
name: "Name",
homepage: "Startseite (optional)",
redirectUris: "Weiterleitungsadressen, eine pro Zeile",
postLogoutRedirectUris:
"Adressen nach der Abmeldung (optional), eine pro Zeile",
scopes: "Berechtigungen, die die Anwendung anfragen darf",
scopesNote:
"openid ist immer verfügbar. Jede Person entscheidet weiterhin auf der Zustimmungsseite.",
serviceNote:
"Ein Dienst fragt /connect/token mit grant_type=client_credentials und seinem Secret an. Das Token nennt die Anwendung selbst und trägt keine Kontoberechtigung.",
create: "Erstellen",
save: "Speichern",
saved: "Die Anwendung wurde gespeichert.",
working: "Wird gespeichert …",
hints: {
web: "https://-Adressen; http:// nur für eine Loopback-Adresse während der Entwicklung.",
spa: "https://-Adressen der Anwendung; http:// nur für eine Loopback-Adresse während der Entwicklung. Der Token-Endpunkt antwortet den Origins dieser Adressen.",
desktop:
"http:// mit einer Loopback-Adresse (http://127.0.0.1:8400/callback) oder ein privates Schema (com.example.app:/callback).",
mobile:
"Ein privates Schema (com.example.app:/callback) oder eine https://-Adresse, die die App beansprucht.",
service: "",
},
},
details: {
clientId: "Client-ID",
clientSecret: "Client-Secret",
created: "Erstellt am {date}",
copyNow:
"Kopieren Sie das Secret jetzt. Es wird nur als Hash gespeichert und nie wieder angezeigt; erstellen Sie ein neues, wenn es verloren geht.",
noSecret: "Dieser Typ hat kein Secret: Er weist sich nur mit PKCE aus.",
secretHeading: "Secret",
rotate: "Neues Client-Secret erstellen",
rotateNote: "Das alte Secret funktioniert sofort nicht mehr.",
deleteHeading: "Löschen",
deleteNote:
"Das Löschen beendet jede Autorisierung und jedes Token der Anwendung.",
delete: "Anwendung löschen",
confirmDelete: "Diese Anwendung löschen und alle ihre Tokens beenden?",
tokenCreated: "Token erstellt",
newSecret: "Neues Client-Secret",
},
scopes: {
account: "Wissen, welches Progmasoft-Konto Sie verwenden.",
profile: "Ihren Progmasoft-Kontonamen lesen.",
email:
"Die E-Mail-Adresse lesen, mit der Sie sich angemeldet und registriert haben.",
"viget.packages.read":
"Die Pakete lesen, die Sie auf ViGet veröffentlicht haben.",
"viget.packages.publish":
"Pakete unter Ihrem Konto auf ViGet veröffentlichen.",
"viget.packages.yank":
"Pakete zurückziehen, die Sie auf ViGet veröffentlicht haben.",
offline_access:
"Diesen Zugriff behalten, wenn Sie die Anwendung nicht verwenden.",
},
consent: {
eyebrow: "Progmasoft OAuth",
title: "{name} erlauben?",
wants: "{name} möchte:",
registeredBy: "Registriert von {owner}.",
returnTo: "Sie werden zu {origin} zurückgeschickt.",
signedInAs: "Angemeldet als {name}.",
withdrawLater:
"Sie können dies jederzeit unter „Erlaubte Anwendungen“ widerrufen.",
allow: "Erlauben",
deny: "Ablehnen",
invalid:
"Diese Anfrage nennt keine registrierte Anwendung, Adresse und Berechtigungen. Kehren Sie zur Anwendung zurück und versuchen Sie es erneut.",
},
allowed: {
eyebrow: "Ihr Konto",
title: "Erlaubte Anwendungen",
description:
"Der Widerruf beendet die Zugriffs- und Aktualisierungstokens der Anwendung sofort; sie muss Sie erneut fragen.",
empty: "Sie haben noch keiner Anwendung Zugriff erlaubt.",
since: "Seit {date}",
deleted: "Eine gelöschte Anwendung",
withdraw: "Widerrufen",
},
},
"ru-RU": {
metadata: {
home: "Progmasoft OAuth",
signIn: "Вход в Progmasoft OAuth",
portal: "Токены OAuth 2.1",
newToken: "Новый токен",
application: "Приложение",
consent: "Разрешить доступ",
allowed: "Разрешённые приложения",
},
common: {
product: "Progmasoft OAuth",
developers: "Токены OAuth 2.1",
console: "Консоль",
allowedApplications: "Разрешённые приложения",
organization: "Progmasoft",
back: "Назад",
signIn: "Войти",
signOut: "Выйти",
signedInAs: "Вы вошли как {name}.",
signInRequired:
"Войдите в аккаунт Progmasoft, чтобы управлять токенами своих приложений.",
signInAccount: "Войти в Progmasoft",
loading: "Загрузка…",
unreachable: "Progmasoft OAuth недоступен. Попробуйте ещё раз.",
notFound:
"Ни у одного из ваших приложений нет такого идентификатора клиента.",
},
home: {
eyebrow: "OAuth 2.1 · OpenID Connect",
title: "Вход через Progmasoft",
description:
"Позвольте людям входить в ваше приложение с аккаунтом Progmasoft и с их согласия действовать от их имени в ViGet. Создать токен может любой разработчик.",
signedOut:
"Войдите, чтобы создавать токены OAuth 2.1 для своих приложений или просмотреть приложения, которым вы дали доступ.",
developersText: "Создавайте токены своих приложений и управляйте ими.",
allowedText:
"Смотрите и отзывайте то, что приложениям разрешено делать от вашего имени.",
discovery: "Документ обнаружения",
},
signIn: {
eyebrow: "Progmasoft OAuth",
title: "Вход в Progmasoft",
description:
"Используйте аккаунт Progmasoft. Этот вход остаётся на credentials.progmasoft.com; приложения никогда не видят ваш пароль.",
email: "Адрес электронной почты",
password: "Пароль",
submit: "Войти",
working: "Выполняется вход…",
failed: "Неверный адрес электронной почты или пароль.",
noAccount: "Ещё нет аккаунта?",
createAccount: "Создать аккаунт Progmasoft",
},
overview: {
eyebrow: "Progmasoft Console",
title: "Разработка на Progmasoft",
description:
"Управляйте тем, как ваши приложения используют Progmasoft: сегодня вход с аккаунтами Progmasoft, другие сервисы Progmasoft — по мере их открытия.",
credentialsText:
"Токены ваших приложений: веб, одностраничных, настольных, мобильных и сервисов.",
allowedText:
"Приложения, которые могут действовать от имени вашего аккаунта.",
docs: "Руководство разработчика",
docsText: "Потоки, разрешения, согласие и ограничения Progmasoft OAuth.",
},
portal: {
eyebrow: "Разработчикам",
title: "Токены OAuth 2.1",
description:
"Каждый токен — это одно приложение: его идентификатор клиента, секрет, если он есть у этого типа, и адреса, куда люди возвращаются после входа.",
newToken: "Новый токен",
empty: "У вас ещё нет токенов.",
limit: "У аккаунта может быть не более {count} токенов.",
endpoints:
"Приложения, через которые люди входят, используют поток authorization code с PKCE (S256). Все конечные точки перечислены в документе обнаружения.",
},
kinds: {
chooseTitle: "Новый токен",
chooseDescription:
"Тип определяет, как приложение подтверждает себя и куда Progmasoft OAuth может возвращать людей. Позже его изменить нельзя.",
label: "Тип приложения",
web: {
title: "Веб-приложение",
description:
"Сайт с сервером. Поток authorization code с PKCE и секрет клиента, который хранит сервер.",
},
spa: {
title: "Одностраничное приложение",
description:
"Браузерное приложение без сервера, например на React или Vue. Поток authorization code с PKCE, без секрета; конечная точка токенов отвечает его origin.",
},
desktop: {
title: "Настольное приложение",
description:
"Настольная или консольная программа. Поток authorization code с PKCE, без секрета; возврат через loopback-адрес или собственную схему.",
},
mobile: {
title: "Мобильное приложение",
description:
"Приложение для iOS или Android. Поток authorization code с PKCE, без секрета; возврат через собственную схему или закреплённый адрес https://.",
},
service: {
title: "Сервис",
description:
"Сервер, который действует от своего имени, а не от имени человека. Грант client credentials с секретом клиента; без разрешений аккаунта и без страницы входа.",
},
},
form: {
name: "Название",
homepage: "Домашняя страница (необязательно)",
redirectUris: "Адреса перенаправления, по одному на строку",
postLogoutRedirectUris:
"Адреса после выхода (необязательно), по одному на строку",
scopes: "Разрешения, которые приложение может запрашивать",
scopesNote:
"openid доступен всегда. Каждый человек всё равно решает сам на странице согласия.",
serviceNote:
"Сервис обращается к /connect/token с grant_type=client_credentials и своим секретом. Токен называет само приложение и не содержит разрешений аккаунта.",
create: "Создать",
save: "Сохранить",
saved: "Приложение сохранено.",
working: "Сохранение…",
hints: {
web: "Адреса https://; http:// только для loopback-адреса во время разработки.",
spa: "Адреса https:// приложения; http:// только для loopback-адреса во время разработки. Конечная точка токенов отвечает origin этих адресов.",
desktop:
"http:// с loopback-адресом (http://127.0.0.1:8400/callback) или собственная схема (com.example.app:/callback).",
mobile:
"Собственная схема (com.example.app:/callback) или адрес https://, закреплённый за приложением.",
service: "",
},
},
details: {
clientId: "Идентификатор клиента",
clientSecret: "Секрет клиента",
created: "Создан {date}",
copyNow:
"Скопируйте секрет сейчас. Он хранится только в виде хеша и больше не будет показан; если он потерян, создайте новый.",
noSecret:
"У этого типа нет секрета: приложение подтверждает себя только через PKCE.",
secretHeading: "Секрет",
rotate: "Создать новый секрет клиента",
rotateNote: "Старый секрет сразу перестаёт работать.",
deleteHeading: "Удаление",
deleteNote:
"Удаление приложения прекращает все его авторизации и токены.",
delete: "Удалить приложение",
confirmDelete: "Удалить это приложение и прекратить все его токены?",
tokenCreated: "Токен создан",
newSecret: "Новый секрет клиента",
},
scopes: {
account: "Знать, каким аккаунтом Progmasoft вы пользуетесь.",
profile: "Видеть имя вашего аккаунта Progmasoft.",
email:
"Видеть адрес электронной почты, с которым вы входите и рÐ
|