Skip to content

Commit

Permalink
adding a docblock in the clientcredential class
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbara Palumbo committed Jul 4, 2024
1 parent faf2107 commit 8e4f4ac
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,19 @@ class PhpBaseFileProducer constructor(val api: Api, @BasePackageName val package
|
| /** @psalm-var string */
| private $!cacheKey;
|
| /**
| * The constructor of the ClientCredentials class.
| *
| * @param string $!clientId
| * The client id.
| * @param string $!clientSecret
| * The client secret.
| * @param string $!scope
| * The scope is needed when you have a client with multiple permissions
| * but you want only a token for a specific scope.
| * Format: `<the scope name>:<the project key>`.
| * Example: `manage_products:project1`.
| */
| public function __construct(string $!clientId, string $!clientSecret, string $!scope = null)
| {
| $!this->clientId = $!clientId;
Expand Down

0 comments on commit 8e4f4ac

Please sign in to comment.