Skip to content

Commit 0b457e2

Browse files
1 parent 71fd21f commit 0b457e2

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

src/CloudIAP/OAuthSettings.php

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,21 @@ class OAuthSettings extends \Google\Collection
2121
{
2222
protected $collection_key = 'programmaticClients';
2323
/**
24-
* Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access
25-
* token. If this field is set, you can skip obtaining the OAuth credentials
26-
* in this step:
27-
* https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-
28-
* oauth-2.0-credentials-from-the-google-api-console. However, this could
29-
* allow for client sharing. The risks of client sharing are outlined here:
24+
* Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for
25+
* client sharing. The risks of client sharing are outlined here:
3026
* https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
3127
*
3228
* @var string
3329
*/
3430
public $clientId;
3531
/**
36-
* Optional. Input only. OAuth secret paired with client ID
32+
* Optional. Input only. OAuth secret paired with client ID.
3733
*
3834
* @var string
3935
*/
4036
public $clientSecret;
4137
/**
42-
* Output only. OAuth secret sha256 paired with client ID
38+
* Output only. OAuth secret SHA256 paired with client ID.
4339
*
4440
* @var string
4541
*/
@@ -62,12 +58,8 @@ class OAuthSettings extends \Google\Collection
6258
public $programmaticClients;
6359

6460
/**
65-
* Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access
66-
* token. If this field is set, you can skip obtaining the OAuth credentials
67-
* in this step:
68-
* https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-
69-
* oauth-2.0-credentials-from-the-google-api-console. However, this could
70-
* allow for client sharing. The risks of client sharing are outlined here:
61+
* Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for
62+
* client sharing. The risks of client sharing are outlined here:
7163
* https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
7264
*
7365
* @param string $clientId
@@ -84,7 +76,7 @@ public function getClientId()
8476
return $this->clientId;
8577
}
8678
/**
87-
* Optional. Input only. OAuth secret paired with client ID
79+
* Optional. Input only. OAuth secret paired with client ID.
8880
*
8981
* @param string $clientSecret
9082
*/
@@ -100,7 +92,7 @@ public function getClientSecret()
10092
return $this->clientSecret;
10193
}
10294
/**
103-
* Output only. OAuth secret sha256 paired with client ID
95+
* Output only. OAuth secret SHA256 paired with client ID.
10496
*
10597
* @param string $clientSecretSha256
10698
*/

0 commit comments

Comments
 (0)