generated at
Laravel Passport
APIに対して認証機能をつけることができるOAuth 2.0サーバの実装

>Laravel already makes it easy to perform authentication via traditional login forms, but what about APIs?
> APIs typically use tokens to authenticate users and do not maintain session state between requests. Laravel makes API authentication a breeze using Laravel Passport, which provides a full OAuth2 server implementation for your Laravel application in a matter of minutes.

使用例

Laravelの認証