← All changes
|
includes/sdk/google/google/common-protos/src/Api/AuthProvider.php
+14
-14
1.1.1
→
1.4.2
View file →
| @@ -1,13 +1,13 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 4 | 4 | # source: google/api/auth.proto |
| 5 | -namespace Dudlewebs\WPMCS\Google\Api; | |
| 5 | +namespace Dudlewebs\WPMCS\GCP\Google\Api; | |
| 6 | 6 | |
| 7 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType; | |
| 8 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\RepeatedField; | |
| 9 | -use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBUtil; | |
| 7 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType; | |
| 8 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBUtil; | |
| 9 | +use Dudlewebs\WPMCS\GCP\Google\Protobuf\RepeatedField; | |
| 10 | 10 | /** |
| 11 | 11 | * Configuration for an authentication provider, including support for |
| 12 | 12 | * [JSON Web Token |
| 13 | 13 | * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). |
| @@ -13,9 +13,9 @@ | ||
| 13 | 13 | * (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32). |
| 14 | 14 | * |
| 15 | 15 | * Generated from protobuf message <code>google.api.AuthProvider</code> |
| 16 | 16 | */ |
| 17 | -class AuthProvider extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message | |
| 17 | +class AuthProvider extends \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\Message | |
| 18 | 18 | { |
| 19 | 19 | /** |
| 20 | 20 | * The unique identifier of the auth provider. It will be referred to by |
| 21 | 21 | * `AuthRequirement.provider_id`. |
| @@ -28,9 +28,9 @@ | ||
| 28 | 28 | * Identifies the principal that issued the JWT. See |
| 29 | 29 | * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 |
| 30 | 30 | * Usually a URL or an email address. |
| 31 | 31 | * Example: https://securetoken.google.com |
| 32 | - * Example: 1234567-compute@developer.gserviceaccount.com | |
| 32 | + * Example: 1234567-compute\@developer.gserviceaccount.com | |
| 33 | 33 | * |
| 34 | 34 | * Generated from protobuf field <code>string issuer = 2;</code> |
| 35 | 35 | */ |
| 36 | 36 | protected $issuer = ''; |
| @@ -111,9 +111,9 @@ | ||
| 111 | 111 | * Identifies the principal that issued the JWT. See |
| 112 | 112 | * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 |
| 113 | 113 | * Usually a URL or an email address. |
| 114 | 114 | * Example: https://securetoken.google.com |
| 115 | - * Example: 1234567-compute@developer.gserviceaccount.com | |
| 115 | + * Example: 1234567-compute\@developer.gserviceaccount.com | |
| 116 | 116 | * @type string $jwks_uri |
| 117 | 117 | * URL of the provider's public key set to validate signature of the JWT. See |
| 118 | 118 | * [OpenID |
| 119 | 119 | * Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). |
| @@ -143,9 +143,9 @@ | ||
| 143 | 143 | * bookstore_web.apps.googleusercontent.com |
| 144 | 144 | * @type string $authorization_url |
| 145 | 145 | * Redirect URL if JWT token is required but not present or is expired. |
| 146 | 146 | * Implement authorizationUrl of securityDefinitions in OpenAPI spec. |
| 147 | - * @type array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $jwt_locations | |
| 147 | + * @type \Google\Api\JwtLocation[] $jwt_locations | |
| 148 | 148 | * Defines the locations to extract the JWT. For now it is only used by the |
| 149 | 149 | * Cloud Endpoints to store the OpenAPI extension [x-google-jwt-locations] |
| 150 | 150 | * (https://cloud.google.com/endpoints/docs/openapi/openapi-extensions#x-google-jwt-locations) |
| 151 | 151 | * JWT locations can be one of HTTP headers, URL query parameters or |
| @@ -163,9 +163,9 @@ | ||
| 163 | 163 | * } |
| 164 | 164 | */ |
| 165 | 165 | public function __construct($data = NULL) |
| 166 | 166 | { |
| 167 | - \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Auth::initOnce(); | |
| 167 | + \Dudlewebs\WPMCS\GCP\GPBMetadata\Google\Api\Auth::initOnce(); | |
| 168 | 168 | parent::__construct($data); |
| 169 | 169 | } |
| 170 | 170 | /** |
| 171 | 171 | * The unique identifier of the auth provider. It will be referred to by |
| @@ -198,9 +198,9 @@ | ||
| 198 | 198 | * Identifies the principal that issued the JWT. See |
| 199 | 199 | * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 |
| 200 | 200 | * Usually a URL or an email address. |
| 201 | 201 | * Example: https://securetoken.google.com |
| 202 | - * Example: 1234567-compute@developer.gserviceaccount.com | |
| 202 | + * Example: 1234567-compute\@developer.gserviceaccount.com | |
| 203 | 203 | * |
| 204 | 204 | * Generated from protobuf field <code>string issuer = 2;</code> |
| 205 | 205 | * @return string |
| 206 | 206 | */ |
| @@ -212,9 +212,9 @@ | ||
| 212 | 212 | * Identifies the principal that issued the JWT. See |
| 213 | 213 | * https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 |
| 214 | 214 | * Usually a URL or an email address. |
| 215 | 215 | * Example: https://securetoken.google.com |
| 216 | - * Example: 1234567-compute@developer.gserviceaccount.com | |
| 216 | + * Example: 1234567-compute\@developer.gserviceaccount.com | |
| 217 | 217 | * |
| 218 | 218 | * Generated from protobuf field <code>string issuer = 2;</code> |
| 219 | 219 | * @param string $var |
| 220 | 220 | * @return $this |
| @@ -361,9 +361,9 @@ | ||
| 361 | 361 | * - header: x-goog-iap-jwt-assertion |
| 362 | 362 | * - query: access_token |
| 363 | 363 | * |
| 364 | 364 | * Generated from protobuf field <code>repeated .google.api.JwtLocation jwt_locations = 6;</code> |
| 365 | - * @return \Google\Protobuf\Internal\RepeatedField | |
| 365 | + * @return RepeatedField<\Google\Api\JwtLocation> | |
| 366 | 366 | */ |
| 367 | 367 | public function getJwtLocations() |
| 368 | 368 | { |
| 369 | 369 | return $this->jwt_locations; |
| @@ -385,14 +385,14 @@ | ||
| 385 | 385 | * - header: x-goog-iap-jwt-assertion |
| 386 | 386 | * - query: access_token |
| 387 | 387 | * |
| 388 | 388 | * Generated from protobuf field <code>repeated .google.api.JwtLocation jwt_locations = 6;</code> |
| 389 | - * @param array<\Google\Api\JwtLocation>|\Google\Protobuf\Internal\RepeatedField $var | |
| 389 | + * @param \Google\Api\JwtLocation[] $var | |
| 390 | 390 | * @return $this |
| 391 | 391 | */ |
| 392 | 392 | public function setJwtLocations($var) |
| 393 | 393 | { |
| 394 | - $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\Google\Api\JwtLocation::class); | |
| 394 | + $arr = GPBUtil::checkRepeatedField($var, \Dudlewebs\WPMCS\GCP\Google\Protobuf\Internal\GPBType::MESSAGE, \Dudlewebs\WPMCS\GCP\Google\Api\JwtLocation::class); | |
| 395 | 395 | $this->jwt_locations = $arr; |
| 396 | 396 | return $this; |
| 397 | 397 | } |
| 398 | 398 | } |