Artisan.page

passport:client

Create a client for issuing access tokens

Terminal
php artisan passport:client [--personal] [--password] [--client] [--name [NAME]] [--provider [PROVIDER]] [--redirect_uri [REDIRECT_URI]] [--user_id [USER_ID]] [--public]

Options

clientOptional

Create a client credentials grant client

nameOptional

The name of the client

passwordOptional

Create a password grant client

personalOptional

Create a personal access token client

providerOptional

The name of the user provider

publicOptional

Create a public client (Auth code grant type only)

redirect_uriOptional

The URI to redirect to after authorization

user_idOptional

The user ID the client should be assigned to