Skip to content

Commit

Permalink
add client id and secret to config
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Sep 11, 2023
1 parent 8424534 commit c87c12e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Api/Repository/SDKgen/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@ public function __construct(FrameworkConfigInterface $config)
$this->config = $config;
}

public function getAccessToken(): ?string
public function getClientId(): ?string
{
return $this->config->get('psx_sdkgen_token');
return $this->config->get('sdkgen_client_id');
}

public function getClientSecret(): ?string
{
return $this->config->get('sdkgen_client_secret');
}
}

0 comments on commit c87c12e

Please sign in to comment.