├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── composer.json ├── config └── one-time-passwords.php ├── database ├── factories │ └── UserFactory.php └── migrations │ └── create_one_time_passwords_table.php.stub ├── phpstan.neon ├── resources ├── lang │ ├── ar │ │ ├── form.php │ │ ├── notifications.php │ │ └── validation.php │ ├── en │ │ ├── form.php │ │ ├── notifications.php │ │ └── validation.php │ ├── fr │ │ ├── form.php │ │ ├── notifications.php │ │ └── validation.php │ ├── nl │ │ ├── form.php │ │ ├── notifications.php │ │ └── validation.php │ ├── pt_BR │ │ ├── form.php │ │ ├── notifications.php │ │ └── validation.php │ ├── pt_PT │ │ ├── form.php │ │ ├── notifications.php │ │ └── validation.php │ └── ru │ │ ├── form.php │ │ ├── notifications.php │ │ └── validation.php └── views │ ├── livewire │ ├── email-form.blade.php │ └── one-time-password-form.blade.php │ └── mail.blade.php └── src ├── Actions ├── ConsumeOneTimePasswordAction.php └── CreateOneTimePasswordAction.php ├── Enums └── ConsumeOneTimePasswordResult.php ├── Events ├── FailedToConsumeOneTimePassword.php └── OneTimePasswordSuccessfullyConsumed.php ├── Exceptions ├── InvalidActionClass.php └── InvalidConfig.php ├── Livewire └── OneTimePasswordComponent.php ├── Models ├── Concerns │ └── HasOneTimePasswords.php └── OneTimePassword.php ├── Notifications └── OneTimePasswordNotification.php ├── OneTimePasswordsServiceProvider.php ├── Rules └── OneTimePasswordRule.php └── Support ├── Config.php ├── OriginInspector ├── DefaultOriginEnforcer.php ├── DoNotEnforceOrigin.php └── OriginEnforcer.php └── PasswordGenerators ├── NumericOneTimePasswordGenerator.php └── OneTimePasswordGenerator.php /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/composer.json -------------------------------------------------------------------------------- /config/one-time-passwords.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/config/one-time-passwords.php -------------------------------------------------------------------------------- /database/factories/UserFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/database/factories/UserFactory.php -------------------------------------------------------------------------------- /database/migrations/create_one_time_passwords_table.php.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/database/migrations/create_one_time_passwords_table.php.stub -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/phpstan.neon -------------------------------------------------------------------------------- /resources/lang/ar/form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/ar/form.php -------------------------------------------------------------------------------- /resources/lang/ar/notifications.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/ar/notifications.php -------------------------------------------------------------------------------- /resources/lang/ar/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/ar/validation.php -------------------------------------------------------------------------------- /resources/lang/en/form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/en/form.php -------------------------------------------------------------------------------- /resources/lang/en/notifications.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/en/notifications.php -------------------------------------------------------------------------------- /resources/lang/en/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/en/validation.php -------------------------------------------------------------------------------- /resources/lang/fr/form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/fr/form.php -------------------------------------------------------------------------------- /resources/lang/fr/notifications.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/fr/notifications.php -------------------------------------------------------------------------------- /resources/lang/fr/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/fr/validation.php -------------------------------------------------------------------------------- /resources/lang/nl/form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/nl/form.php -------------------------------------------------------------------------------- /resources/lang/nl/notifications.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/nl/notifications.php -------------------------------------------------------------------------------- /resources/lang/nl/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/nl/validation.php -------------------------------------------------------------------------------- /resources/lang/pt_BR/form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/pt_BR/form.php -------------------------------------------------------------------------------- /resources/lang/pt_BR/notifications.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/pt_BR/notifications.php -------------------------------------------------------------------------------- /resources/lang/pt_BR/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/pt_BR/validation.php -------------------------------------------------------------------------------- /resources/lang/pt_PT/form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/pt_PT/form.php -------------------------------------------------------------------------------- /resources/lang/pt_PT/notifications.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/pt_PT/notifications.php -------------------------------------------------------------------------------- /resources/lang/pt_PT/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/pt_PT/validation.php -------------------------------------------------------------------------------- /resources/lang/ru/form.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/ru/form.php -------------------------------------------------------------------------------- /resources/lang/ru/notifications.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/ru/notifications.php -------------------------------------------------------------------------------- /resources/lang/ru/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/lang/ru/validation.php -------------------------------------------------------------------------------- /resources/views/livewire/email-form.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/views/livewire/email-form.blade.php -------------------------------------------------------------------------------- /resources/views/livewire/one-time-password-form.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/views/livewire/one-time-password-form.blade.php -------------------------------------------------------------------------------- /resources/views/mail.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/resources/views/mail.blade.php -------------------------------------------------------------------------------- /src/Actions/ConsumeOneTimePasswordAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Actions/ConsumeOneTimePasswordAction.php -------------------------------------------------------------------------------- /src/Actions/CreateOneTimePasswordAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Actions/CreateOneTimePasswordAction.php -------------------------------------------------------------------------------- /src/Enums/ConsumeOneTimePasswordResult.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Enums/ConsumeOneTimePasswordResult.php -------------------------------------------------------------------------------- /src/Events/FailedToConsumeOneTimePassword.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Events/FailedToConsumeOneTimePassword.php -------------------------------------------------------------------------------- /src/Events/OneTimePasswordSuccessfullyConsumed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Events/OneTimePasswordSuccessfullyConsumed.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidActionClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Exceptions/InvalidActionClass.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Exceptions/InvalidConfig.php -------------------------------------------------------------------------------- /src/Livewire/OneTimePasswordComponent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Livewire/OneTimePasswordComponent.php -------------------------------------------------------------------------------- /src/Models/Concerns/HasOneTimePasswords.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Models/Concerns/HasOneTimePasswords.php -------------------------------------------------------------------------------- /src/Models/OneTimePassword.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Models/OneTimePassword.php -------------------------------------------------------------------------------- /src/Notifications/OneTimePasswordNotification.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Notifications/OneTimePasswordNotification.php -------------------------------------------------------------------------------- /src/OneTimePasswordsServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/OneTimePasswordsServiceProvider.php -------------------------------------------------------------------------------- /src/Rules/OneTimePasswordRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Rules/OneTimePasswordRule.php -------------------------------------------------------------------------------- /src/Support/Config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Support/Config.php -------------------------------------------------------------------------------- /src/Support/OriginInspector/DefaultOriginEnforcer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Support/OriginInspector/DefaultOriginEnforcer.php -------------------------------------------------------------------------------- /src/Support/OriginInspector/DoNotEnforceOrigin.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Support/OriginInspector/DoNotEnforceOrigin.php -------------------------------------------------------------------------------- /src/Support/OriginInspector/OriginEnforcer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Support/OriginInspector/OriginEnforcer.php -------------------------------------------------------------------------------- /src/Support/PasswordGenerators/NumericOneTimePasswordGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Support/PasswordGenerators/NumericOneTimePasswordGenerator.php -------------------------------------------------------------------------------- /src/Support/PasswordGenerators/OneTimePasswordGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/laravel-one-time-passwords/HEAD/src/Support/PasswordGenerators/OneTimePasswordGenerator.php --------------------------------------------------------------------------------