├── .github ├── dependabot.yml └── workflows │ └── tests.yaml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── art └── logo.svg ├── cypress.config.ts ├── package.json ├── rollup.config.js ├── src ├── Sanctum.tsx ├── SanctumContext.tsx ├── WithSanctumProps.tsx ├── index.ts ├── useSanctum.ts └── withSanctum.tsx ├── test ├── .DS_Store ├── dependencies │ ├── .DS_Store │ ├── laravel │ │ ├── .editorconfig │ │ ├── .env.example │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .styleci.yml │ │ ├── README.md │ │ ├── app │ │ │ ├── Actions │ │ │ │ └── Fortify │ │ │ │ │ ├── CreateNewUser.php │ │ │ │ │ ├── PasswordValidationRules.php │ │ │ │ │ ├── ResetUserPassword.php │ │ │ │ │ ├── UpdateUserPassword.php │ │ │ │ │ └── UpdateUserProfileInformation.php │ │ │ ├── Console │ │ │ │ └── Kernel.php │ │ │ ├── Exceptions │ │ │ │ └── Handler.php │ │ │ ├── Http │ │ │ │ ├── Controllers │ │ │ │ │ └── Controller.php │ │ │ │ ├── Kernel.php │ │ │ │ └── Middleware │ │ │ │ │ ├── Authenticate.php │ │ │ │ │ ├── EncryptCookies.php │ │ │ │ │ ├── PreventRequestsDuringMaintenance.php │ │ │ │ │ ├── RedirectIfAuthenticated.php │ │ │ │ │ ├── TrimStrings.php │ │ │ │ │ ├── TrustHosts.php │ │ │ │ │ ├── TrustProxies.php │ │ │ │ │ └── VerifyCsrfToken.php │ │ │ ├── Models │ │ │ │ └── User.php │ │ │ └── Providers │ │ │ │ ├── AppServiceProvider.php │ │ │ │ ├── AuthServiceProvider.php │ │ │ │ ├── BroadcastServiceProvider.php │ │ │ │ ├── EventServiceProvider.php │ │ │ │ ├── FortifyServiceProvider.php │ │ │ │ └── RouteServiceProvider.php │ │ ├── artisan │ │ ├── bootstrap │ │ │ ├── app.php │ │ │ └── cache │ │ │ │ └── .gitignore │ │ ├── composer.json │ │ ├── composer.lock │ │ ├── config │ │ │ ├── app.php │ │ │ ├── auth.php │ │ │ ├── broadcasting.php │ │ │ ├── cache.php │ │ │ ├── cors.php │ │ │ ├── database.php │ │ │ ├── filesystems.php │ │ │ ├── fortify.php │ │ │ ├── hashing.php │ │ │ ├── logging.php │ │ │ ├── mail.php │ │ │ ├── queue.php │ │ │ ├── sanctum.php │ │ │ ├── services.php │ │ │ ├── session.php │ │ │ └── view.php │ │ ├── database │ │ │ ├── .gitignore │ │ │ ├── factories │ │ │ │ └── UserFactory.php │ │ │ ├── migrations │ │ │ │ ├── 2014_10_12_000000_create_users_table.php │ │ │ │ ├── 2014_10_12_100000_create_password_resets_table.php │ │ │ │ ├── 2014_10_12_200000_add_two_factor_columns_to_users_table.php │ │ │ │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ │ │ │ └── 2019_12_14_000001_create_personal_access_tokens_table.php │ │ │ └── seeders │ │ │ │ └── DatabaseSeeder.php │ │ ├── package.json │ │ ├── phpunit.xml │ │ ├── public │ │ │ ├── .htaccess │ │ │ ├── favicon.ico │ │ │ ├── index.php │ │ │ ├── robots.txt │ │ │ └── web.config │ │ ├── resources │ │ │ ├── css │ │ │ │ └── app.css │ │ │ ├── js │ │ │ │ ├── app.js │ │ │ │ └── bootstrap.js │ │ │ ├── lang │ │ │ │ └── en │ │ │ │ │ ├── auth.php │ │ │ │ │ ├── pagination.php │ │ │ │ │ ├── passwords.php │ │ │ │ │ └── validation.php │ │ │ └── views │ │ │ │ └── welcome.blade.php │ │ ├── routes │ │ │ ├── api.php │ │ │ ├── channels.php │ │ │ ├── console.php │ │ │ └── web.php │ │ ├── server.php │ │ ├── storage │ │ │ ├── app │ │ │ │ ├── .gitignore │ │ │ │ └── public │ │ │ │ │ └── .gitignore │ │ │ └── framework │ │ │ │ ├── .gitignore │ │ │ │ ├── cache │ │ │ │ ├── .gitignore │ │ │ │ └── data │ │ │ │ │ └── .gitignore │ │ │ │ ├── sessions │ │ │ │ └── .gitignore │ │ │ │ ├── testing │ │ │ │ └── .gitignore │ │ │ │ └── views │ │ │ │ └── .gitignore │ │ ├── tests │ │ │ ├── CreatesApplication.php │ │ │ ├── Feature │ │ │ │ └── ExampleTest.php │ │ │ ├── TestCase.php │ │ │ └── Unit │ │ │ │ └── ExampleTest.php │ │ └── webpack.mix.js │ ├── react-app-17 │ │ ├── .env │ │ ├── .gitignore │ │ ├── README.md │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── public │ │ │ └── index.html │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── components │ │ │ │ ├── SetupTwoFactor.tsx │ │ │ │ ├── SignOut.tsx │ │ │ │ ├── WithFactor.tsx │ │ │ │ ├── WithRecovery.tsx │ │ │ │ └── WithoutFactor.tsx │ │ │ ├── index.tsx │ │ │ └── react-app-env.d.ts │ │ └── tsconfig.json │ ├── react-app-18 │ │ ├── .env │ │ ├── .gitignore │ │ ├── README.md │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── public │ │ │ └── index.html │ │ ├── src │ │ │ ├── App.tsx │ │ │ ├── components │ │ │ │ ├── SetupTwoFactor.tsx │ │ │ │ ├── SignOut.tsx │ │ │ │ ├── WithFactor.tsx │ │ │ │ ├── WithRecovery.tsx │ │ │ │ └── WithoutFactor.tsx │ │ │ ├── index.tsx │ │ │ └── react-app-env.d.ts │ │ └── tsconfig.json │ └── react-app-19 │ │ ├── .env │ │ ├── .gitignore │ │ ├── README.md │ │ ├── package-lock.json │ │ ├── package.json │ │ ├── public │ │ └── index.html │ │ ├── src │ │ ├── App.tsx │ │ ├── components │ │ │ ├── SetupTwoFactor.tsx │ │ │ ├── SignOut.tsx │ │ │ ├── WithFactor.tsx │ │ │ ├── WithRecovery.tsx │ │ │ └── WithoutFactor.tsx │ │ ├── index.tsx │ │ └── react-app-env.d.ts │ │ └── tsconfig.json └── integration │ └── Sanctum.spec.js └── tsconfig.json /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/README.md -------------------------------------------------------------------------------- /art/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/art/logo.svg -------------------------------------------------------------------------------- /cypress.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/cypress.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/Sanctum.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/src/Sanctum.tsx -------------------------------------------------------------------------------- /src/SanctumContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/src/SanctumContext.tsx -------------------------------------------------------------------------------- /src/WithSanctumProps.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/src/WithSanctumProps.tsx -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/useSanctum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/src/useSanctum.ts -------------------------------------------------------------------------------- /src/withSanctum.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/src/withSanctum.tsx -------------------------------------------------------------------------------- /test/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/.DS_Store -------------------------------------------------------------------------------- /test/dependencies/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/.DS_Store -------------------------------------------------------------------------------- /test/dependencies/laravel/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/.editorconfig -------------------------------------------------------------------------------- /test/dependencies/laravel/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/.env.example -------------------------------------------------------------------------------- /test/dependencies/laravel/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/.gitattributes -------------------------------------------------------------------------------- /test/dependencies/laravel/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/.gitignore -------------------------------------------------------------------------------- /test/dependencies/laravel/.styleci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/.styleci.yml -------------------------------------------------------------------------------- /test/dependencies/laravel/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/README.md -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Actions/Fortify/CreateNewUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Actions/Fortify/CreateNewUser.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Actions/Fortify/PasswordValidationRules.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Actions/Fortify/PasswordValidationRules.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Actions/Fortify/ResetUserPassword.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Actions/Fortify/ResetUserPassword.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Actions/Fortify/UpdateUserPassword.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Actions/Fortify/UpdateUserPassword.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Actions/Fortify/UpdateUserProfileInformation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Actions/Fortify/UpdateUserProfileInformation.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Console/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Console/Kernel.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Exceptions/Handler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Exceptions/Handler.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Controllers/Controller.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Kernel.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Middleware/Authenticate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Middleware/Authenticate.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Middleware/EncryptCookies.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Middleware/PreventRequestsDuringMaintenance.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Middleware/PreventRequestsDuringMaintenance.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Middleware/RedirectIfAuthenticated.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Middleware/TrimStrings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Middleware/TrimStrings.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Middleware/TrustHosts.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Middleware/TrustHosts.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Middleware/TrustProxies.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Middleware/TrustProxies.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Http/Middleware/VerifyCsrfToken.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Models/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Models/User.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Providers/AppServiceProvider.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Providers/AuthServiceProvider.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Providers/BroadcastServiceProvider.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Providers/EventServiceProvider.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Providers/FortifyServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Providers/FortifyServiceProvider.php -------------------------------------------------------------------------------- /test/dependencies/laravel/app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/app/Providers/RouteServiceProvider.php -------------------------------------------------------------------------------- /test/dependencies/laravel/artisan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/artisan -------------------------------------------------------------------------------- /test/dependencies/laravel/bootstrap/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/bootstrap/app.php -------------------------------------------------------------------------------- /test/dependencies/laravel/bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /test/dependencies/laravel/composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/composer.json -------------------------------------------------------------------------------- /test/dependencies/laravel/composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/composer.lock -------------------------------------------------------------------------------- /test/dependencies/laravel/config/app.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/app.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/auth.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/broadcasting.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/broadcasting.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/cache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/cache.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/cors.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/cors.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/database.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/database.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/filesystems.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/filesystems.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/fortify.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/fortify.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/hashing.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/hashing.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/logging.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/logging.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/mail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/mail.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/queue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/queue.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/sanctum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/sanctum.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/services.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/services.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/session.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/session.php -------------------------------------------------------------------------------- /test/dependencies/laravel/config/view.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/config/view.php -------------------------------------------------------------------------------- /test/dependencies/laravel/database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /test/dependencies/laravel/database/factories/UserFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/database/factories/UserFactory.php -------------------------------------------------------------------------------- /test/dependencies/laravel/database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/database/migrations/2014_10_12_000000_create_users_table.php -------------------------------------------------------------------------------- /test/dependencies/laravel/database/migrations/2014_10_12_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/database/migrations/2014_10_12_100000_create_password_resets_table.php -------------------------------------------------------------------------------- /test/dependencies/laravel/database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php -------------------------------------------------------------------------------- /test/dependencies/laravel/database/migrations/2019_08_19_000000_create_failed_jobs_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/database/migrations/2019_08_19_000000_create_failed_jobs_table.php -------------------------------------------------------------------------------- /test/dependencies/laravel/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php -------------------------------------------------------------------------------- /test/dependencies/laravel/database/seeders/DatabaseSeeder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/database/seeders/DatabaseSeeder.php -------------------------------------------------------------------------------- /test/dependencies/laravel/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/package.json -------------------------------------------------------------------------------- /test/dependencies/laravel/phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/phpunit.xml -------------------------------------------------------------------------------- /test/dependencies/laravel/public/.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/public/.htaccess -------------------------------------------------------------------------------- /test/dependencies/laravel/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dependencies/laravel/public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/public/index.php -------------------------------------------------------------------------------- /test/dependencies/laravel/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /test/dependencies/laravel/public/web.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/public/web.config -------------------------------------------------------------------------------- /test/dependencies/laravel/resources/css/app.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/dependencies/laravel/resources/js/app.js: -------------------------------------------------------------------------------- 1 | require('./bootstrap'); 2 | -------------------------------------------------------------------------------- /test/dependencies/laravel/resources/js/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/resources/js/bootstrap.js -------------------------------------------------------------------------------- /test/dependencies/laravel/resources/lang/en/auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/resources/lang/en/auth.php -------------------------------------------------------------------------------- /test/dependencies/laravel/resources/lang/en/pagination.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/resources/lang/en/pagination.php -------------------------------------------------------------------------------- /test/dependencies/laravel/resources/lang/en/passwords.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/resources/lang/en/passwords.php -------------------------------------------------------------------------------- /test/dependencies/laravel/resources/lang/en/validation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/resources/lang/en/validation.php -------------------------------------------------------------------------------- /test/dependencies/laravel/resources/views/welcome.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/resources/views/welcome.blade.php -------------------------------------------------------------------------------- /test/dependencies/laravel/routes/api.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/routes/api.php -------------------------------------------------------------------------------- /test/dependencies/laravel/routes/channels.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/routes/channels.php -------------------------------------------------------------------------------- /test/dependencies/laravel/routes/console.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/routes/console.php -------------------------------------------------------------------------------- /test/dependencies/laravel/routes/web.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/routes/web.php -------------------------------------------------------------------------------- /test/dependencies/laravel/server.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/server.php -------------------------------------------------------------------------------- /test/dependencies/laravel/storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /test/dependencies/laravel/storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /test/dependencies/laravel/storage/framework/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/storage/framework/.gitignore -------------------------------------------------------------------------------- /test/dependencies/laravel/storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /test/dependencies/laravel/storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /test/dependencies/laravel/storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /test/dependencies/laravel/storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /test/dependencies/laravel/storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /test/dependencies/laravel/tests/CreatesApplication.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/tests/CreatesApplication.php -------------------------------------------------------------------------------- /test/dependencies/laravel/tests/Feature/ExampleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/tests/Feature/ExampleTest.php -------------------------------------------------------------------------------- /test/dependencies/laravel/tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/tests/TestCase.php -------------------------------------------------------------------------------- /test/dependencies/laravel/tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/tests/Unit/ExampleTest.php -------------------------------------------------------------------------------- /test/dependencies/laravel/webpack.mix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/laravel/webpack.mix.js -------------------------------------------------------------------------------- /test/dependencies/react-app-17/.env: -------------------------------------------------------------------------------- 1 | HOST=127.0.0.1 2 | PORT=3000 3 | -------------------------------------------------------------------------------- /test/dependencies/react-app-17/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/.gitignore -------------------------------------------------------------------------------- /test/dependencies/react-app-17/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/README.md -------------------------------------------------------------------------------- /test/dependencies/react-app-17/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/package-lock.json -------------------------------------------------------------------------------- /test/dependencies/react-app-17/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/package.json -------------------------------------------------------------------------------- /test/dependencies/react-app-17/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/public/index.html -------------------------------------------------------------------------------- /test/dependencies/react-app-17/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/src/App.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-17/src/components/SetupTwoFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/src/components/SetupTwoFactor.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-17/src/components/SignOut.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/src/components/SignOut.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-17/src/components/WithFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/src/components/WithFactor.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-17/src/components/WithRecovery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/src/components/WithRecovery.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-17/src/components/WithoutFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/src/components/WithoutFactor.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-17/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/src/index.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-17/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /test/dependencies/react-app-17/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-17/tsconfig.json -------------------------------------------------------------------------------- /test/dependencies/react-app-18/.env: -------------------------------------------------------------------------------- 1 | HOST=127.0.0.1 2 | PORT=3000 3 | -------------------------------------------------------------------------------- /test/dependencies/react-app-18/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/.gitignore -------------------------------------------------------------------------------- /test/dependencies/react-app-18/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/README.md -------------------------------------------------------------------------------- /test/dependencies/react-app-18/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/package-lock.json -------------------------------------------------------------------------------- /test/dependencies/react-app-18/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/package.json -------------------------------------------------------------------------------- /test/dependencies/react-app-18/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/public/index.html -------------------------------------------------------------------------------- /test/dependencies/react-app-18/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/src/App.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-18/src/components/SetupTwoFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/src/components/SetupTwoFactor.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-18/src/components/SignOut.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/src/components/SignOut.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-18/src/components/WithFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/src/components/WithFactor.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-18/src/components/WithRecovery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/src/components/WithRecovery.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-18/src/components/WithoutFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/src/components/WithoutFactor.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-18/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/src/index.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-18/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /test/dependencies/react-app-18/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-18/tsconfig.json -------------------------------------------------------------------------------- /test/dependencies/react-app-19/.env: -------------------------------------------------------------------------------- 1 | HOST=127.0.0.1 2 | PORT=3000 3 | -------------------------------------------------------------------------------- /test/dependencies/react-app-19/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/.gitignore -------------------------------------------------------------------------------- /test/dependencies/react-app-19/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/README.md -------------------------------------------------------------------------------- /test/dependencies/react-app-19/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/package-lock.json -------------------------------------------------------------------------------- /test/dependencies/react-app-19/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/package.json -------------------------------------------------------------------------------- /test/dependencies/react-app-19/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/public/index.html -------------------------------------------------------------------------------- /test/dependencies/react-app-19/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/src/App.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-19/src/components/SetupTwoFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/src/components/SetupTwoFactor.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-19/src/components/SignOut.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/src/components/SignOut.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-19/src/components/WithFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/src/components/WithFactor.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-19/src/components/WithRecovery.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/src/components/WithRecovery.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-19/src/components/WithoutFactor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/src/components/WithoutFactor.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-19/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/src/index.tsx -------------------------------------------------------------------------------- /test/dependencies/react-app-19/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /test/dependencies/react-app-19/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/dependencies/react-app-19/tsconfig.json -------------------------------------------------------------------------------- /test/integration/Sanctum.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/test/integration/Sanctum.spec.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/koole/react-sanctum/HEAD/tsconfig.json --------------------------------------------------------------------------------