Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

456 B
Raw Blame
<?php

namespace HiEvents\Http\Request\Auth\Sso;

use HiEvents\Http\Request\BaseRequest;
use HiEvents\Locale;

class SendSsoSignupCodeRequest extends BaseRequest
{
    public function rules(): array
    {
        return [
            'signup_ticket' => ['required', 'string', 'max:128'],
            'binding' => ['required', 'string', 'max:128'],
            'locale' => ['nullable', 'in:'.implode(',', Locale::getSupportedLocales())],
        ];
    }
}