This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Get the passport client repository | |
| $clientRepository = app('Laravel\Passport\ClientRepository'); | |
| // for machine-to-machine authentication | |
| $client = $clientRepository->create(null, 'myclient', ''); | |
| // gets the client's id and secret | |
| $clientSecret = $client->secret; | |
| $clientId = $client->id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM maxmcd/gstreamer:1.14-buster | |
| WORKDIR /usr/src | |
| RUN apt-get update && apt-get install -y python3-pip \ | |
| pkg-config \ | |
| libcairo2-dev \ | |
| gcc \ | |
| python3-dev \ | |
| libgirepository1.0-dev \ |