Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 8 additions & 16 deletions src/CloudIAP/OAuthSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,21 @@ class OAuthSettings extends \Google\Collection
{
protected $collection_key = 'programmaticClients';
/**
* Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access
* token. If this field is set, you can skip obtaining the OAuth credentials
* in this step:
* https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-
* oauth-2.0-credentials-from-the-google-api-console. However, this could
* allow for client sharing. The risks of client sharing are outlined here:
* Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for
* client sharing. The risks of client sharing are outlined here:
* https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
*
* @var string
*/
public $clientId;
/**
* Optional. Input only. OAuth secret paired with client ID
* Optional. Input only. OAuth secret paired with client ID.
*
* @var string
*/
public $clientSecret;
/**
* Output only. OAuth secret sha256 paired with client ID
* Output only. OAuth secret SHA256 paired with client ID.
*
* @var string
*/
Expand All @@ -62,12 +58,8 @@ class OAuthSettings extends \Google\Collection
public $programmaticClients;

/**
* Optional. OAuth 2.0 client ID used in the OAuth flow to generate an access
* token. If this field is set, you can skip obtaining the OAuth credentials
* in this step:
* https://developers.google.com/identity/protocols/OAuth2?hl=en_US#1.-obtain-
* oauth-2.0-credentials-from-the-google-api-console. However, this could
* allow for client sharing. The risks of client sharing are outlined here:
* Optional. OAuth 2.0 client ID used in the OAuth flow. This allows for
* client sharing. The risks of client sharing are outlined here:
* https://cloud.google.com/iap/docs/sharing-oauth-clients#risks.
*
* @param string $clientId
Expand All @@ -84,7 +76,7 @@ public function getClientId()
return $this->clientId;
}
/**
* Optional. Input only. OAuth secret paired with client ID
* Optional. Input only. OAuth secret paired with client ID.
*
* @param string $clientSecret
*/
Expand All @@ -100,7 +92,7 @@ public function getClientSecret()
return $this->clientSecret;
}
/**
* Output only. OAuth secret sha256 paired with client ID
* Output only. OAuth secret SHA256 paired with client ID.
*
* @param string $clientSecretSha256
*/
Expand Down
Loading