Commit bcb1790486acd610876252a5b5c7a45bbf5b8853
Committed by
Andrew Shvayka
1 parent
940c81b0
UI: Increased access token length to 32 characters
Showing
21 changed files
with
22 additions
and
22 deletions
@@ -168,7 +168,7 @@ export class DeviceCredentialsComponent implements ControlValueAccessor, OnInit, | @@ -168,7 +168,7 @@ export class DeviceCredentialsComponent implements ControlValueAccessor, OnInit, | ||
168 | const credentialsType = this.deviceCredentialsFormGroup.get('credentialsType').value as DeviceCredentialsType; | 168 | const credentialsType = this.deviceCredentialsFormGroup.get('credentialsType').value as DeviceCredentialsType; |
169 | switch (credentialsType) { | 169 | switch (credentialsType) { |
170 | case DeviceCredentialsType.ACCESS_TOKEN: | 170 | case DeviceCredentialsType.ACCESS_TOKEN: |
171 | - this.deviceCredentialsFormGroup.get('credentialsId').setValidators([Validators.required, Validators.pattern(/^.{1,20}$/)]); | 171 | + this.deviceCredentialsFormGroup.get('credentialsId').setValidators([Validators.required, Validators.pattern(/^.{1,32}$/)]); |
172 | this.deviceCredentialsFormGroup.get('credentialsId').updateValueAndValidity({emitEvent: false}); | 172 | this.deviceCredentialsFormGroup.get('credentialsId').updateValueAndValidity({emitEvent: false}); |
173 | this.deviceCredentialsFormGroup.get('credentialsValue').setValidators([]); | 173 | this.deviceCredentialsFormGroup.get('credentialsValue').setValidators([]); |
174 | this.deviceCredentialsFormGroup.get('credentialsValue').updateValueAndValidity({emitEvent: false}); | 174 | this.deviceCredentialsFormGroup.get('credentialsValue').updateValueAndValidity({emitEvent: false}); |
@@ -953,7 +953,7 @@ | @@ -953,7 +953,7 @@ | ||
953 | "credentials-type": "Typ přístupových údajů", | 953 | "credentials-type": "Typ přístupových údajů", |
954 | "access-token": "Přístupový token", | 954 | "access-token": "Přístupový token", |
955 | "access-token-required": "Přístupový token je povinný.", | 955 | "access-token-required": "Přístupový token je povinný.", |
956 | - "access-token-invalid": "Délka přístupového tokenu musí být od 1 do 20 znaků.", | 956 | + "access-token-invalid": "Délka přístupového tokenu musí být od 1 do 32 znaků.", |
957 | "rsa-key": "RSA veřejný klíč", | 957 | "rsa-key": "RSA veřejný klíč", |
958 | "rsa-key-required": "RSA veřejný klíč je povinný.", | 958 | "rsa-key-required": "RSA veřejný klíč je povinný.", |
959 | "lwm2m-security-config": { | 959 | "lwm2m-security-config": { |
@@ -686,7 +686,7 @@ | @@ -686,7 +686,7 @@ | ||
686 | "credentials-type": "Art der Zugangsdaten", | 686 | "credentials-type": "Art der Zugangsdaten", |
687 | "access-token": "Zugangs-Token", | 687 | "access-token": "Zugangs-Token", |
688 | "access-token-required": "Zugangs-Token ist erforderlich.", | 688 | "access-token-required": "Zugangs-Token ist erforderlich.", |
689 | - "access-token-invalid": "Die Länge des Zugangs-Tokens muss zwischen 1 und 20 Zeichen betragen.", | 689 | + "access-token-invalid": "Die Länge des Zugangs-Tokens muss zwischen 1 und 32 Zeichen betragen.", |
690 | "rsa-key": "RSA öffentlicher Schlüssel", | 690 | "rsa-key": "RSA öffentlicher Schlüssel", |
691 | "rsa-key-required": "RSA öffentlicher Schlüssel ist erforderlich.", | 691 | "rsa-key-required": "RSA öffentlicher Schlüssel ist erforderlich.", |
692 | "secret": "Geheimnis", | 692 | "secret": "Geheimnis", |
@@ -798,7 +798,7 @@ | @@ -798,7 +798,7 @@ | ||
798 | "credentials-type": "Τύπος διαπιστευτηρίων", | 798 | "credentials-type": "Τύπος διαπιστευτηρίων", |
799 | "access-token": "Διακριτικό πρόσβασης", | 799 | "access-token": "Διακριτικό πρόσβασης", |
800 | "access-token-required": "Απαιτείται διακριτικό πρόσβασης.", | 800 | "access-token-required": "Απαιτείται διακριτικό πρόσβασης.", |
801 | - "access-token-invalid": "Access token length must be from 1 to 20 characters.", | 801 | + "access-token-invalid": "Access token length must be from 1 to 32 characters.", |
802 | "rsa-key": "RSA public key", | 802 | "rsa-key": "RSA public key", |
803 | "rsa-key-required": "Απαιτείται RSA public key.", | 803 | "rsa-key-required": "Απαιτείται RSA public key.", |
804 | "secret": "Secret", | 804 | "secret": "Secret", |
@@ -956,7 +956,7 @@ | @@ -956,7 +956,7 @@ | ||
956 | "credentials-type": "Credentials type", | 956 | "credentials-type": "Credentials type", |
957 | "access-token": "Access token", | 957 | "access-token": "Access token", |
958 | "access-token-required": "Access token is required.", | 958 | "access-token-required": "Access token is required.", |
959 | - "access-token-invalid": "Access token length must be from 1 to 20 characters.", | 959 | + "access-token-invalid": "Access token length must be from 1 to 32 characters.", |
960 | "rsa-key": "RSA public key", | 960 | "rsa-key": "RSA public key", |
961 | "rsa-key-required": "RSA public key is required.", | 961 | "rsa-key-required": "RSA public key is required.", |
962 | "lwm2m-security-config": { | 962 | "lwm2m-security-config": { |
@@ -893,7 +893,7 @@ | @@ -893,7 +893,7 @@ | ||
893 | "credentials-type": "Tipo de credencial", | 893 | "credentials-type": "Tipo de credencial", |
894 | "access-token": "Tóken de acceso", | 894 | "access-token": "Tóken de acceso", |
895 | "access-token-required": "Access token requerido.", | 895 | "access-token-required": "Access token requerido.", |
896 | - "access-token-invalid": "Access token debe tener entre 1 a 20 caracteres.", | 896 | + "access-token-invalid": "Access token debe tener entre 1 a 32 caracteres.", |
897 | "rsa-key": "Clave pública RSA", | 897 | "rsa-key": "Clave pública RSA", |
898 | "rsa-key-required": "Clave pública RSA requerida.", | 898 | "rsa-key-required": "Clave pública RSA requerida.", |
899 | "client-id": "ID Cliente", | 899 | "client-id": "ID Cliente", |
@@ -640,7 +640,7 @@ | @@ -640,7 +640,7 @@ | ||
640 | "credentials-type": "نوع اعتبارنامه ها", | 640 | "credentials-type": "نوع اعتبارنامه ها", |
641 | "access-token": "شناسه دسترسي", | 641 | "access-token": "شناسه دسترسي", |
642 | "access-token-required": ".شناسه دسترسي مورد نياز است", | 642 | "access-token-required": ".شناسه دسترسي مورد نياز است", |
643 | - "access-token-invalid": ".طول شناسه دسترسي بايد از 1 تا 20 حرف باشد", | 643 | + "access-token-invalid": ".طول شناسه دسترسي بايد از 1 تا 32 حرف باشد", |
644 | "rsa-key": "RSA کليد عمومي", | 644 | "rsa-key": "RSA کليد عمومي", |
645 | "rsa-key-required": ".مورد نياز است RSA کليد عمومي", | 645 | "rsa-key-required": ".مورد نياز است RSA کليد عمومي", |
646 | "secret": "محرمانه", | 646 | "secret": "محرمانه", |
@@ -639,7 +639,7 @@ | @@ -639,7 +639,7 @@ | ||
639 | }, | 639 | }, |
640 | "device": { | 640 | "device": { |
641 | "access-token": "Jeton d'accès", | 641 | "access-token": "Jeton d'accès", |
642 | - "access-token-invalid": "La longueur du jeton d'accès doit être comprise entre 1 et 20 caractéres.", | 642 | + "access-token-invalid": "La longueur du jeton d'accès doit être comprise entre 1 et 32 caractéres.", |
643 | "access-token-required": "Le jeton d'accès est requis.", | 643 | "access-token-required": "Le jeton d'accès est requis.", |
644 | "accessTokenCopiedMessage": "Le jeton d'accès au dispositif a été copié dans le presse-papier", | 644 | "accessTokenCopiedMessage": "Le jeton d'accès au dispositif a été copié dans le presse-papier", |
645 | "add": "Ajouter un dispositif", | 645 | "add": "Ajouter un dispositif", |
@@ -665,7 +665,7 @@ | @@ -665,7 +665,7 @@ | ||
665 | "credentials-type": "Tipo credenziali", | 665 | "credentials-type": "Tipo credenziali", |
666 | "access-token": "Token di accesso", | 666 | "access-token": "Token di accesso", |
667 | "access-token-required": "Token di accesso obbligatorio.", | 667 | "access-token-required": "Token di accesso obbligatorio.", |
668 | - "access-token-invalid": "Il token di accesso deve avere una lunghezza compresa tra 1 e 20 caratteri.", | 668 | + "access-token-invalid": "Il token di accesso deve avere una lunghezza compresa tra 1 e 32 caratteri.", |
669 | "rsa-key": "Chiave pubblica RSA", | 669 | "rsa-key": "Chiave pubblica RSA", |
670 | "rsa-key-required": "Chiave pubblica RSA obbligatoria.", | 670 | "rsa-key-required": "Chiave pubblica RSA obbligatoria.", |
671 | "secret": "Secret", | 671 | "secret": "Secret", |
@@ -623,7 +623,7 @@ | @@ -623,7 +623,7 @@ | ||
623 | "credentials-type": "資格情報タイプ", | 623 | "credentials-type": "資格情報タイプ", |
624 | "access-token": "アクセストークン", | 624 | "access-token": "アクセストークン", |
625 | "access-token-required": "アクセストークンが必要です。", | 625 | "access-token-required": "アクセストークンが必要です。", |
626 | - "access-token-invalid": "アクセストークンの長さは、1〜20文字でなければなりません。", | 626 | + "access-token-invalid": "アクセストークンの長さは、1〜32文字でなければなりません。", |
627 | "rsa-key": "RSA公開鍵", | 627 | "rsa-key": "RSA公開鍵", |
628 | "rsa-key-required": "RSA公開鍵が必要です。", | 628 | "rsa-key-required": "RSA公開鍵が必要です。", |
629 | "secret": "秘密", | 629 | "secret": "秘密", |
@@ -683,7 +683,7 @@ | @@ -683,7 +683,7 @@ | ||
683 | "credentials-type": "მომხმარებლის ჩანაწერი", | 683 | "credentials-type": "მომხმარებლის ჩანაწერი", |
684 | "access-token": "ტოკენი", | 684 | "access-token": "ტოკენი", |
685 | "access-token-required": "ტოკენი სავალდებულოა", | 685 | "access-token-required": "ტოკენი სავალდებულოა", |
686 | - "access-token-invalid": "ტოკენის სიგრძე უნდა იყოს 1 დან 20 სიმბოლომდე", | 686 | + "access-token-invalid": "ტოკენის სიგრძე უნდა იყოს 1 დან 32 სიმბოლომდე", |
687 | "rsa-key": "ღია გასაღები RSA", | 687 | "rsa-key": "ღია გასაღები RSA", |
688 | "rsa-key-required": "ღია გასაღები RSA აუცილებელია", | 688 | "rsa-key-required": "ღია გასაღები RSA აუცილებელია", |
689 | "secret": "საიდუმლო", | 689 | "secret": "საიდუმლო", |
@@ -869,7 +869,7 @@ | @@ -869,7 +869,7 @@ | ||
869 | "credentials-type": "크리덴셜 타입", | 869 | "credentials-type": "크리덴셜 타입", |
870 | "access-token": "억세스 토큰", | 870 | "access-token": "억세스 토큰", |
871 | "access-token-required": "액세스 토큰을 입력하세요.", | 871 | "access-token-required": "액세스 토큰을 입력하세요.", |
872 | - "access-token-invalid": "액세스 토큰 길이는 1 - 20 자 여야합니다.", | 872 | + "access-token-invalid": "액세스 토큰 길이는 1 - 32 자 여야합니다.", |
873 | "rsa-key": "RSA public key", | 873 | "rsa-key": "RSA public key", |
874 | "rsa-key-required": "RSA public key 를 입력하세요.", | 874 | "rsa-key-required": "RSA public key 를 입력하세요.", |
875 | "client-id": "클라이언트 ID", | 875 | "client-id": "클라이언트 ID", |
@@ -641,7 +641,7 @@ | @@ -641,7 +641,7 @@ | ||
641 | "credentials-type": "Akreditācijas datu tips", | 641 | "credentials-type": "Akreditācijas datu tips", |
642 | "access-token": "Piekļuves tokens", | 642 | "access-token": "Piekļuves tokens", |
643 | "access-token-required": "Piekļuves tokens ir nepieciešams.", | 643 | "access-token-required": "Piekļuves tokens ir nepieciešams.", |
644 | - "access-token-invalid": "Piekļuves tokena garumam ir jābūt no 1 līdz 20 rakstzīmēm.", | 644 | + "access-token-invalid": "Piekļuves tokena garumam ir jābūt no 1 līdz 32 rakstzīmēm.", |
645 | "rsa-key": "RSA publiskā atslēga", | 645 | "rsa-key": "RSA publiskā atslēga", |
646 | "rsa-key-required": "RSA publiskā atslēga ir nepieciešama.", | 646 | "rsa-key-required": "RSA publiskā atslēga ir nepieciešama.", |
647 | "secret": "Noslēpums", | 647 | "secret": "Noslēpums", |
@@ -715,7 +715,7 @@ | @@ -715,7 +715,7 @@ | ||
715 | "credentials-type": "Tipo de credencial", | 715 | "credentials-type": "Tipo de credencial", |
716 | "access-token": "Token de acesso", | 716 | "access-token": "Token de acesso", |
717 | "access-token-required": "O token de acesso é obrigatório.", | 717 | "access-token-required": "O token de acesso é obrigatório.", |
718 | - "access-token-invalid": "O token de acesso deve ter de 1 a 20 caracteres.", | 718 | + "access-token-invalid": "O token de acesso deve ter de 1 a 32 caracteres.", |
719 | "rsa-key": "Chave pública RSA", | 719 | "rsa-key": "Chave pública RSA", |
720 | "rsa-key-required": "A chave pública RSA é obrigatória.", | 720 | "rsa-key-required": "A chave pública RSA é obrigatória.", |
721 | "secret": "Segredo", | 721 | "secret": "Segredo", |
@@ -674,7 +674,7 @@ | @@ -674,7 +674,7 @@ | ||
674 | "credentials-type": "Tip Credențiale", | 674 | "credentials-type": "Tip Credențiale", |
675 | "access-token": "Token Acces", | 675 | "access-token": "Token Acces", |
676 | "access-token-required": "Tokenul de acces este necesar", | 676 | "access-token-required": "Tokenul de acces este necesar", |
677 | - "access-token-invalid": "Dimensiunea tokenului de acces trebuie să fie de 1-20 caractere", | 677 | + "access-token-invalid": "Dimensiunea tokenului de acces trebuie să fie de 1-32 caractere", |
678 | "rsa-key": "Cheie RSA publică", | 678 | "rsa-key": "Cheie RSA publică", |
679 | "rsa-key-required": "Cheia RSA publică key este necesară", | 679 | "rsa-key-required": "Cheia RSA publică key este necesară", |
680 | "secret": "Cod Secret", | 680 | "secret": "Cod Secret", |
@@ -1797,4 +1797,4 @@ | @@ -1797,4 +1797,4 @@ | ||
1797 | "language": { | 1797 | "language": { |
1798 | "language": "Limba" | 1798 | "language": "Limba" |
1799 | } | 1799 | } |
1800 | -} | ||
1800 | +} |
@@ -677,7 +677,7 @@ | @@ -677,7 +677,7 @@ | ||
677 | "credentials-type": "Тип учетных данных", | 677 | "credentials-type": "Тип учетных данных", |
678 | "access-token": "Токен", | 678 | "access-token": "Токен", |
679 | "access-token-required": "Токен обязателен.", | 679 | "access-token-required": "Токен обязателен.", |
680 | - "access-token-invalid": "Длина токена должна быть от 1 до 20 символов.", | 680 | + "access-token-invalid": "Длина токена должна быть от 1 до 32 символов.", |
681 | "rsa-key": "Открытый ключ RSA", | 681 | "rsa-key": "Открытый ключ RSA", |
682 | "rsa-key-required": "Открытый ключ RSA обязателен.", | 682 | "rsa-key-required": "Открытый ключ RSA обязателен.", |
683 | "secret": "Секрет", | 683 | "secret": "Секрет", |
@@ -869,7 +869,7 @@ | @@ -869,7 +869,7 @@ | ||
869 | "credentials-type": "Vrsta poverilnic", | 869 | "credentials-type": "Vrsta poverilnic", |
870 | "access-token": "Dostopni žeton", | 870 | "access-token": "Dostopni žeton", |
871 | "access-token-required": "Zahtevan je žeton za dostop.", | 871 | "access-token-required": "Zahtevan je žeton za dostop.", |
872 | - "access-token-invalid": "Dolžina žetona za dostop mora biti od 1 do 20 znakov.", | 872 | + "access-token-invalid": "Dolžina žetona za dostop mora biti od 1 do 32 znakov.", |
873 | "rsa-key": "Javni ključ RSA", | 873 | "rsa-key": "Javni ključ RSA", |
874 | "rsa-key-required": "Potreben je javni ključ RSA.", | 874 | "rsa-key-required": "Potreben je javni ključ RSA.", |
875 | "client-id": "Client ID", | 875 | "client-id": "Client ID", |
@@ -667,7 +667,7 @@ | @@ -667,7 +667,7 @@ | ||
667 | "credentials-type": "Kimlik Bilgi Türü", | 667 | "credentials-type": "Kimlik Bilgi Türü", |
668 | "access-token": "Erişim şifresi", | 668 | "access-token": "Erişim şifresi", |
669 | "access-token-required": "Erişim şifresi gerekli.", | 669 | "access-token-required": "Erişim şifresi gerekli.", |
670 | - "access-token-invalid": "Erişim şifresi uzunluğu 1 ile 20 karakter arasında olmalıdır.", | 670 | + "access-token-invalid": "Erişim şifresi uzunluğu 1 ile 32 karakter arasında olmalıdır.", |
671 | "rsa-key": "RSA açık anahtarı", | 671 | "rsa-key": "RSA açık anahtarı", |
672 | "rsa-key-required": "RSA açık anahtarı gerekli.", | 672 | "rsa-key-required": "RSA açık anahtarı gerekli.", |
673 | "secret": "Secret", | 673 | "secret": "Secret", |
@@ -794,7 +794,7 @@ | @@ -794,7 +794,7 @@ | ||
794 | "credentials-type": "Тип авторизаційних даних", | 794 | "credentials-type": "Тип авторизаційних даних", |
795 | "access-token": "Маркер доступу", | 795 | "access-token": "Маркер доступу", |
796 | "access-token-required": "Необхідно вказати маркер доступу.", | 796 | "access-token-required": "Необхідно вказати маркер доступу.", |
797 | - "access-token-invalid": "Маркер доступу має бути від 1 до 20 символів.", | 797 | + "access-token-invalid": "Маркер доступу має бути від 1 до 32 символів.", |
798 | "rsa-key": "Публічний ключ RSA", | 798 | "rsa-key": "Публічний ключ RSA", |
799 | "rsa-key-required": "Необхідно вказати публічний ключ RSA.", | 799 | "rsa-key-required": "Необхідно вказати публічний ключ RSA.", |
800 | "secret": "Секрет", | 800 | "secret": "Секрет", |
@@ -996,7 +996,7 @@ | @@ -996,7 +996,7 @@ | ||
996 | }, | 996 | }, |
997 | "device": { | 997 | "device": { |
998 | "access-token": "访问令牌", | 998 | "access-token": "访问令牌", |
999 | - "access-token-invalid": "访问令牌长度必须为1到20个字符。", | 999 | + "access-token-invalid": "访问令牌长度必须为1到32个字符。", |
1000 | "access-token-required": "访问令牌必填", | 1000 | "access-token-required": "访问令牌必填", |
1001 | "accessTokenCopiedMessage": "设备访问令牌已复制到剪贴板", | 1001 | "accessTokenCopiedMessage": "设备访问令牌已复制到剪贴板", |
1002 | "add": "添加设备", | 1002 | "add": "添加设备", |
@@ -624,7 +624,7 @@ | @@ -624,7 +624,7 @@ | ||
624 | "credentials-type": "憑據類型", | 624 | "credentials-type": "憑據類型", |
625 | "access-token": "存取令牌", | 625 | "access-token": "存取令牌", |
626 | "access-token-required": "需要存取令牌", | 626 | "access-token-required": "需要存取令牌", |
627 | - "access-token-invalid": "存取令牌長度必須為1到20個字符。", | 627 | + "access-token-invalid": "存取令牌長度必須為1到32個字符。", |
628 | "rsa-key": "RSA公鑰", | 628 | "rsa-key": "RSA公鑰", |
629 | "rsa-key-required": "需要RSA公鑰", | 629 | "rsa-key-required": "需要RSA公鑰", |
630 | "secret": "密鑰", | 630 | "secret": "密鑰", |