| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function __construct(Credentials $credentials, $api_key, $customerId) |
||
| 19 | { |
||
| 20 | $this->api_key = $api_key; |
||
| 21 | $this->customerId = $customerId; |
||
| 22 | $this->credentials = $credentials; |
||
| 23 | |||
| 24 | $this->signer = new SignatureV4( |
||
| 25 | config('services.dnb.servcice') ?? 'execute-api', |
||
|
|
|||
| 26 | config('services.dnb.region') ?? 'eu-west-1' |
||
| 27 | ); |
||
| 28 | $this->token = new JwtToken($this->credentials, $this->api_key, $this->customerId); |
||
| 29 | } |
||
| 45 |