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
"autoload": { | |
"psr-4": { | |
"LMillucci\\CivicSIP\\": "src/" | |
} | |
} |
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
"extra": { | |
"laravel": { | |
"providers": [ | |
"LMillucci\\CivicSIP\\Providers\\CivicServiceProvider" | |
], | |
"aliases": { | |
"Civic": "LMillucci\\CivicSIP\\Facades\\CivicFacade" | |
} | |
} | |
} |
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 | |
namespace LMillucci\CivicSIP\Providers; | |
use Illuminate\Support\ServiceProvider; | |
class CivicServiceProvider extends ServiceProvider | |
{ | |
/** | |
* Bootstrap any application services. |
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 | |
namespace LMillucci\CivicSIP\Facades; | |
use Illuminate\Support\Facades\Facade; | |
/** | |
* @method static \Blockvis\Civic\Sip\Client exchangeToken(string $jwtToken) | |
* | |
* @see \Blockvis\Civic\Sip\Client |
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
/** | |
* Simple green pass decoder inspired by https://git.gir.st/greenpass.git/blob_plain/master:/greenpass.py | |
* | |
* 2021 Lorenzo Millucci | |
* | |
* Before usage install following dependecies `npm install base45 cbor jpeg-js jsqr pako` | |
*/ | |
const base45 = require('base45'); | |
const cbor = require('cbor'); |
OlderNewer