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\Container;
|
---|
19 |
|
---|
20 | class GetOpenIDConfigResponse extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'subject_types_supported';
|
---|
23 | protected $internal_gapi_mappings = [
|
---|
24 | "claimsSupported" => "claims_supported",
|
---|
25 | "grantTypes" => "grant_types",
|
---|
26 | "idTokenSigningAlgValuesSupported" => "id_token_signing_alg_values_supported",
|
---|
27 | "jwksUri" => "jwks_uri",
|
---|
28 | "responseTypesSupported" => "response_types_supported",
|
---|
29 | "subjectTypesSupported" => "subject_types_supported",
|
---|
30 | ];
|
---|
31 | protected $cacheHeaderType = HttpCacheControlResponseHeader::class;
|
---|
32 | protected $cacheHeaderDataType = '';
|
---|
33 | /**
|
---|
34 | * @var string[]
|
---|
35 | */
|
---|
36 | public $claimsSupported;
|
---|
37 | /**
|
---|
38 | * @var string[]
|
---|
39 | */
|
---|
40 | public $grantTypes;
|
---|
41 | /**
|
---|
42 | * @var string[]
|
---|
43 | */
|
---|
44 | public $idTokenSigningAlgValuesSupported;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $issuer;
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $jwksUri;
|
---|
53 | /**
|
---|
54 | * @var string[]
|
---|
55 | */
|
---|
56 | public $responseTypesSupported;
|
---|
57 | /**
|
---|
58 | * @var string[]
|
---|
59 | */
|
---|
60 | public $subjectTypesSupported;
|
---|
61 |
|
---|
62 | /**
|
---|
63 | * @param HttpCacheControlResponseHeader
|
---|
64 | */
|
---|
65 | public function setCacheHeader(HttpCacheControlResponseHeader $cacheHeader)
|
---|
66 | {
|
---|
67 | $this->cacheHeader = $cacheHeader;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @return HttpCacheControlResponseHeader
|
---|
71 | */
|
---|
72 | public function getCacheHeader()
|
---|
73 | {
|
---|
74 | return $this->cacheHeader;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @param string[]
|
---|
78 | */
|
---|
79 | public function setClaimsSupported($claimsSupported)
|
---|
80 | {
|
---|
81 | $this->claimsSupported = $claimsSupported;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return string[]
|
---|
85 | */
|
---|
86 | public function getClaimsSupported()
|
---|
87 | {
|
---|
88 | return $this->claimsSupported;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param string[]
|
---|
92 | */
|
---|
93 | public function setGrantTypes($grantTypes)
|
---|
94 | {
|
---|
95 | $this->grantTypes = $grantTypes;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return string[]
|
---|
99 | */
|
---|
100 | public function getGrantTypes()
|
---|
101 | {
|
---|
102 | return $this->grantTypes;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param string[]
|
---|
106 | */
|
---|
107 | public function setIdTokenSigningAlgValuesSupported($idTokenSigningAlgValuesSupported)
|
---|
108 | {
|
---|
109 | $this->idTokenSigningAlgValuesSupported = $idTokenSigningAlgValuesSupported;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return string[]
|
---|
113 | */
|
---|
114 | public function getIdTokenSigningAlgValuesSupported()
|
---|
115 | {
|
---|
116 | return $this->idTokenSigningAlgValuesSupported;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param string
|
---|
120 | */
|
---|
121 | public function setIssuer($issuer)
|
---|
122 | {
|
---|
123 | $this->issuer = $issuer;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return string
|
---|
127 | */
|
---|
128 | public function getIssuer()
|
---|
129 | {
|
---|
130 | return $this->issuer;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param string
|
---|
134 | */
|
---|
135 | public function setJwksUri($jwksUri)
|
---|
136 | {
|
---|
137 | $this->jwksUri = $jwksUri;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return string
|
---|
141 | */
|
---|
142 | public function getJwksUri()
|
---|
143 | {
|
---|
144 | return $this->jwksUri;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string[]
|
---|
148 | */
|
---|
149 | public function setResponseTypesSupported($responseTypesSupported)
|
---|
150 | {
|
---|
151 | $this->responseTypesSupported = $responseTypesSupported;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string[]
|
---|
155 | */
|
---|
156 | public function getResponseTypesSupported()
|
---|
157 | {
|
---|
158 | return $this->responseTypesSupported;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param string[]
|
---|
162 | */
|
---|
163 | public function setSubjectTypesSupported($subjectTypesSupported)
|
---|
164 | {
|
---|
165 | $this->subjectTypesSupported = $subjectTypesSupported;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return string[]
|
---|
169 | */
|
---|
170 | public function getSubjectTypesSupported()
|
---|
171 | {
|
---|
172 | return $this->subjectTypesSupported;
|
---|
173 | }
|
---|
174 | }
|
---|
175 |
|
---|
176 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
177 | class_alias(GetOpenIDConfigResponse::class, 'Google_Service_Container_GetOpenIDConfigResponse');
|
---|