()
| 10 | private Vaas $vaas; |
| 11 | |
| 12 | public function __construct() |
| 13 | { |
| 14 | $authenticator = new ClientCredentialsGrantAuthenticator( |
| 15 | getenv("CLIENT_ID"), |
| 16 | getenv("CLIENT_SECRET"), |
| 17 | getenv("TOKEN_URL") ?: "https://account.gdata.de/realms/vaas-production/protocol/openid-connect/token" |
| 18 | ); |
| 19 | $this->vaas = (new Vaas()) |
| 20 | ->withAuthenticator($authenticator) |
| 21 | ->build(); |
| 22 | } |
| 23 | |
| 24 | public function scanSingleFile(string $fileName): void |
| 25 | { |
nothing calls this directly
no test coverage detected