@@ -53,7 +53,7 @@ protected function socialAuthRules()
5353 protected function otpOptionsRules ()
5454 {
5555 return [
56- 'action ' => ['required ' , 'string ' , 'in:login ,password_reset ' ],
56+ 'action ' => ['required ' , 'string ' , 'in:authentication ,password_reset,password_renew ' ],
5757 'method ' => ['required ' , 'string ' , 'in:username,email,phone ' ],
5858 'identifier ' => ['required ' , 'string ' ],
5959 'ip ' => ['nullable ' , 'ip ' ],
@@ -74,17 +74,17 @@ public function eventRules()
7474 /**
7575 * @return array
7676 */
77- public function scopeEntitiesRules ()
77+ public function scopeResourceRules ()
7878 {
7979 return [
80- 'lang ' => ['nullable ' , 'string ' , 'max:2 ' ],
80+ 'lang ' => ['nullable ' , 'string ' , 'max:5 ' ],
8181 ];
8282 }
8383
8484 /**
8585 * @return array
8686 */
87- public function clientEntityRules ()
87+ public function clientResourceRules ()
8888 {
8989 return [
9090 'id ' => ['required ' , 'string ' , 'min:1 ' ],
@@ -94,7 +94,7 @@ public function clientEntityRules()
9494 /**
9595 * @return array
9696 */
97- public function userEntityRules ()
97+ public function userResourceRules ()
9898 {
9999 return [
100100 'id ' => ['nullable ' , 'string ' ],
0 commit comments