[f9c482b] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\CloudSecurityToken;
|
---|
| 19 |
|
---|
| 20 | class GoogleIdentityStsV1ExchangeOauthTokenResponse extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $internal_gapi_mappings = [
|
---|
| 23 | "accessToken" => "access_token",
|
---|
| 24 | "expiresIn" => "expires_in",
|
---|
| 25 | "idToken" => "id_token",
|
---|
| 26 | "refreshToken" => "refresh_token",
|
---|
| 27 | "tokenType" => "token_type",
|
---|
| 28 | ];
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $accessToken;
|
---|
| 33 | /**
|
---|
| 34 | * @var int
|
---|
| 35 | */
|
---|
| 36 | public $expiresIn;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $idToken;
|
---|
| 41 | /**
|
---|
| 42 | * @var string
|
---|
| 43 | */
|
---|
| 44 | public $refreshToken;
|
---|
| 45 | /**
|
---|
| 46 | * @var string
|
---|
| 47 | */
|
---|
| 48 | public $scope;
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $tokenType;
|
---|
| 53 |
|
---|
| 54 | /**
|
---|
| 55 | * @param string
|
---|
| 56 | */
|
---|
| 57 | public function setAccessToken($accessToken)
|
---|
| 58 | {
|
---|
| 59 | $this->accessToken = $accessToken;
|
---|
| 60 | }
|
---|
| 61 | /**
|
---|
| 62 | * @return string
|
---|
| 63 | */
|
---|
| 64 | public function getAccessToken()
|
---|
| 65 | {
|
---|
| 66 | return $this->accessToken;
|
---|
| 67 | }
|
---|
| 68 | /**
|
---|
| 69 | * @param int
|
---|
| 70 | */
|
---|
| 71 | public function setExpiresIn($expiresIn)
|
---|
| 72 | {
|
---|
| 73 | $this->expiresIn = $expiresIn;
|
---|
| 74 | }
|
---|
| 75 | /**
|
---|
| 76 | * @return int
|
---|
| 77 | */
|
---|
| 78 | public function getExpiresIn()
|
---|
| 79 | {
|
---|
| 80 | return $this->expiresIn;
|
---|
| 81 | }
|
---|
| 82 | /**
|
---|
| 83 | * @param string
|
---|
| 84 | */
|
---|
| 85 | public function setIdToken($idToken)
|
---|
| 86 | {
|
---|
| 87 | $this->idToken = $idToken;
|
---|
| 88 | }
|
---|
| 89 | /**
|
---|
| 90 | * @return string
|
---|
| 91 | */
|
---|
| 92 | public function getIdToken()
|
---|
| 93 | {
|
---|
| 94 | return $this->idToken;
|
---|
| 95 | }
|
---|
| 96 | /**
|
---|
| 97 | * @param string
|
---|
| 98 | */
|
---|
| 99 | public function setRefreshToken($refreshToken)
|
---|
| 100 | {
|
---|
| 101 | $this->refreshToken = $refreshToken;
|
---|
| 102 | }
|
---|
| 103 | /**
|
---|
| 104 | * @return string
|
---|
| 105 | */
|
---|
| 106 | public function getRefreshToken()
|
---|
| 107 | {
|
---|
| 108 | return $this->refreshToken;
|
---|
| 109 | }
|
---|
| 110 | /**
|
---|
| 111 | * @param string
|
---|
| 112 | */
|
---|
| 113 | public function setScope($scope)
|
---|
| 114 | {
|
---|
| 115 | $this->scope = $scope;
|
---|
| 116 | }
|
---|
| 117 | /**
|
---|
| 118 | * @return string
|
---|
| 119 | */
|
---|
| 120 | public function getScope()
|
---|
| 121 | {
|
---|
| 122 | return $this->scope;
|
---|
| 123 | }
|
---|
| 124 | /**
|
---|
| 125 | * @param string
|
---|
| 126 | */
|
---|
| 127 | public function setTokenType($tokenType)
|
---|
| 128 | {
|
---|
| 129 | $this->tokenType = $tokenType;
|
---|
| 130 | }
|
---|
| 131 | /**
|
---|
| 132 | * @return string
|
---|
| 133 | */
|
---|
| 134 | public function getTokenType()
|
---|
| 135 | {
|
---|
| 136 | return $this->tokenType;
|
---|
| 137 | }
|
---|
| 138 | }
|
---|
| 139 |
|
---|
| 140 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 141 | class_alias(GoogleIdentityStsV1ExchangeOauthTokenResponse::class, 'Google_Service_CloudSecurityToken_GoogleIdentityStsV1ExchangeOauthTokenResponse');
|
---|