You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# authOauth
2
2
3
+
### actively maintained at https://github.com/aksinha-nerdapplabs/authOauth
4
+
3
5
**A Sample Symfony 2 RESTful API Project with FOSUserBundle + FOSRestBundle + FOSOauthServerBundle for Mobile and Web Clients.**
4
6
5
7
This is an example project, ready to use, based upon **Symfony 2.8** but can be easily adapted to higher Symfony versions. This project is using below Symfony Bundles:
@@ -218,8 +220,9 @@ You can test the provided API via curl or Postman. Here we provide as to how to
218
220
219
221
Separate sample Github repos are available for iPhone and Android Mobile Clients which use APIs provided by this repo.
Copy file name to clipboardExpand all lines: src/ApiBundle/Resources/config/validation.yml
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,8 @@ ApiBundle\Entity\User:
32
32
api_error: 'api.show_error_username_policy'
33
33
- Regex:
34
34
groups: [Registration, Profile]
35
-
pattern: '/^[a-z0-9_-]{3,16}$/'
35
+
# Username should be 2-50 characters long with any Uppercase/lowercase letter (A-Za-z), number (0-9), any special character other than square brackets and quotes
admin_deleted_denied1: व्यवस्थापक अपने स्वयं के खाते को नष्ट करने की अनुमति नहीं है!
120
-
admin_deleted_denied2: वहाँ 1 सक्रिय व्यवस्थापक खाता होना चाहिए, इसलिए बढ़ावा देने के / इस खाते को हटाने से पहले व्यवस्थापक भूमिका के लिए किसी अन्य उपयोगकर्ता आवंटित।
120
+
admin_deleted_denied2: वहाँ 1 सक्रिय व्यवस्थापक खाता होना चाहिए, इसलिए बढ़ावा देने के / इस खाते को हटाने से पहले व्यवस्थापक भूमिका के लिए किसी अन्य उपयोगकर्ता आवंटित।
121
121
api:
122
122
show_error_client_name: क्षमा करें, क्लाइंट का नाम रिक्त नहीं हो सकता!
123
123
show_error_client_name_taken: क्षमा करें, क्लाइंट का नाम पहले ही ले लिया!
@@ -154,3 +154,11 @@ api:
154
154
mail_send: मेल पहले से ही% email% करने के लिए भेज देते हैं। कृपया अपने मेल की जाँच करें।
155
155
logged_in: सफलतापूर्वक लॉग इन हो चुका है!
156
156
logged_out: सफलतापूर्वक लॉग आउट!
157
+
# Password change
158
+
change_password:
159
+
flash:
160
+
success: पासवर्ड बदल दिया गया है
161
+
# Password resetting
162
+
resetting:
163
+
flash:
164
+
success: पासवर्ड सफलतापूर्वक रीसेट कर दिया गया है।
Copy file name to clipboardExpand all lines: src/ApiBundle/Resources/translations/validators.en.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,6 @@ user:
19
19
show_error_perm_edit: Sorry, You are not permitted to edit user profile!
20
20
show_error_password_reset: Sorry, You are not permitted to request for password reset!
21
21
show_error_reset_req: Password reset request already received
22
-
show_error_username_policy: Username should be 3-16 characters long with any lowercase letter (a-z), number (0-9), an underscore, or a hyphen
23
-
show_error_password_policy: Password 6-20 characters, at least 1 Uppercase, 1 Lowercase, 1 Number and 1 Special Character
22
+
show_error_username_policy: Username should be 2-50 characters long with any Uppercase/lowercase letter (A-Za-z), number (0-9), any special character, other than []'"
23
+
show_error_password_policy: Password 6-50 characters, at least 1 Uppercase, 1 Lowercase, 1 Number and 1 Special Character, other than [ and ]
Copy file name to clipboardExpand all lines: src/ApiBundle/Resources/translations/validators.fr.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,5 +20,5 @@ user:
20
20
show_error_password_reset: Désolé, vous n'êtes pas autorisé à demander une réinitialisation du mot de passe!
21
21
show_error_reset_req: Réinitialisation du mot de passe déjà reçue
22
22
show_error_server_fault: Erreur du serveur! Veuillez réessayer après un certain temps !!
23
-
show_error_username_policy: Le nom d'utilisateur doit comporter entre 3 et 16 caractères avec une lettre minuscule (a-z), un chiffre (0-9), un trait de soulignement ou un tiret
24
-
show_error_password_policy: Mot de passe 6 à 20 caractères, au moins 1 majuscule, 1 minuscule, 1 numéro et 1 caractère spécial
23
+
show_error_username_policy: Le nom d'utilisateur doit comporter de 2 à 50 caractères avec une lettre majuscule / minuscule (A-Za-z), un numéro (0-9), un caractère spécial, autre que []'"
24
+
show_error_password_policy: Mot de passe 6-50 caractères, au moins 1 majuscule, 1 minuscule, 1 numéro et 1 caractère spécial, autres que [et]
Copy file name to clipboardExpand all lines: src/ApiBundle/Resources/translations/validators.hi.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,5 +20,5 @@ user:
20
20
show_error_password_reset: क्षमा करें, आप पासवर्ड रीसेट के लिए अनुरोध करने के लिए अनुमति नहीं है!
21
21
show_error_reset_req: पासवर्ड रीसेट अनुरोध पहले से ही प्राप्त
22
22
show_error_server_fault: सर्वर त्रुटि! कुछ समय के बाद फिर से कोशिश करें !!
23
-
show_error_username_policy: यूजर का नाम किसी भी छोटा अक्षर (a-z), संख्या (0-9), एक अंडरस्कोर, या एक हाइफन के साथ 3-16 अक्षर का होना चाहिए
24
-
show_error_password_policy: पासवर्ड 6-20 अक्षर, कम से कम 1 अपरकेस, 1 लोअरकेस, 1 संख्या और 1 विशेष अक्षर
23
+
show_error_username_policy: यूजर का नाम किसी भी अपरकेस / छोटे अक्षर (a-Za-z), संख्या (0-9), किसी भी विशेष वर्ण, [ और ] के अलावा, 2-50 अक्षर का होना चाहिए
24
+
show_error_password_policy: पासवर्ड 6-50 अक्षर, कम से कम 1 अपरकेस, 1 लोअरकेस, 1 संख्या और 1 विशेष वर्ण, []'" के अलावा अन्य
0 commit comments