|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + |
| 5 | + /* |
| 6 | + |-------------------------------------------------------------------------- |
| 7 | + | Passport Guard |
| 8 | + |-------------------------------------------------------------------------- |
| 9 | + | |
| 10 | + | Here you may specify which authentication guard Passport will use when |
| 11 | + | authenticating users. This value should correspond with one of your |
| 12 | + | guards that is already present in your "auth" configuration file. |
| 13 | + | |
| 14 | + */ |
| 15 | + |
| 16 | + 'guard' => 'web', |
| 17 | + |
| 18 | + /* |
| 19 | + |-------------------------------------------------------------------------- |
| 20 | + | Encryption Keys |
| 21 | + |-------------------------------------------------------------------------- |
| 22 | + | |
| 23 | + | Passport uses encryption keys while generating secure access tokens for |
| 24 | + | your application. By default, the keys are stored as local files but |
| 25 | + | can be set via environment variables when that is more convenient. |
| 26 | + | |
| 27 | + */ |
| 28 | + |
| 29 | + 'private_key' => env('PASSPORT_PRIVATE_KEY'), |
| 30 | + |
| 31 | + 'public_key' => env('PASSPORT_PUBLIC_KEY'), |
| 32 | + |
| 33 | + /* |
| 34 | + |-------------------------------------------------------------------------- |
| 35 | + | Client UUIDs |
| 36 | + |-------------------------------------------------------------------------- |
| 37 | + | |
| 38 | + | By default, Passport uses auto-incrementing primary keys when assigning |
| 39 | + | IDs to clients. However, if Passport is installed using the provided |
| 40 | + | --uuids switch, this will be set to "true" and UUIDs will be used. |
| 41 | + | |
| 42 | + */ |
| 43 | + |
| 44 | + 'client_uuids' => true, |
| 45 | + |
| 46 | + /* |
| 47 | + |-------------------------------------------------------------------------- |
| 48 | + | Personal Access Client |
| 49 | + |-------------------------------------------------------------------------- |
| 50 | + | |
| 51 | + | If you enable client hashing, you should set the personal access client |
| 52 | + | ID and unhashed secret within your environment file. The values will |
| 53 | + | get used while issuing fresh personal access tokens to your users. |
| 54 | + | |
| 55 | + */ |
| 56 | + |
| 57 | + 'personal_access_client' => [ |
| 58 | + 'id' => env('PASSPORT_PERSONAL_ACCESS_CLIENT_ID'), |
| 59 | + 'secret' => env('PASSPORT_PERSONAL_ACCESS_CLIENT_SECRET'), |
| 60 | + ], |
| 61 | + |
| 62 | +]; |
0 commit comments